mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 04:50:14 +02:00
Add thread names
This commit is contained in:
@@ -86,7 +86,11 @@ MainContext::MainContext()
|
||||
// we'll run the timer on a 30 second interval.
|
||||
async_handle_watchdog_timer(5s);
|
||||
|
||||
watchdog_handler = Win32Thread([&]() { watchdog_context.run(); });
|
||||
watchdog_handler = Win32Thread([&]() {
|
||||
pthread_setname_np(pthread_self(), "watchdog");
|
||||
|
||||
watchdog_context.run();
|
||||
});
|
||||
}
|
||||
|
||||
void MainContext::run() {
|
||||
|
||||
Reference in New Issue
Block a user