mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
Set Thread name to aid debugging
This commit is contained in:
parent
95f8a3aace
commit
ec131fcb70
1 changed files with 3 additions and 0 deletions
|
|
@ -355,6 +355,9 @@ ExportHandler::command_output(std::string output, size_t size)
|
|||
void*
|
||||
ExportHandler::start_timespan_bg (void* eh)
|
||||
{
|
||||
char name[64];
|
||||
snprintf (name, 64, "Export-TS-%p", (void*)DEBUG_THREAD_SELF);
|
||||
pthread_set_name (name);
|
||||
ExportHandler* self = static_cast<ExportHandler*> (eh);
|
||||
self->process_connection.disconnect ();
|
||||
Glib::Threads::Mutex::Lock l (self->export_status->lock());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue