mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
audioengine thread(s) should have their actual numbered name
This commit is contained in:
parent
074516cdb4
commit
b66bb61650
1 changed files with 2 additions and 2 deletions
|
|
@ -1451,11 +1451,11 @@ AudioEngine::thread_init_callback (void* arg)
|
|||
knows about it.
|
||||
*/
|
||||
|
||||
pthread_set_name (X_("audioengine"));
|
||||
|
||||
const int thread_num = audioengine_thread_cnt.fetch_add (1);
|
||||
const string thread_name = string_compose (X_("AudioEngine %1"), thread_num);
|
||||
|
||||
pthread_set_name (thread_name.c_str());
|
||||
|
||||
SessionEvent::create_per_thread_pool (thread_name, 512);
|
||||
PBD::notify_event_loops_about_thread_creation (pthread_self(), thread_name, 4096);
|
||||
AsyncMIDIPort::set_process_thread (pthread_self());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue