perf(threads): implement adjust_thread_priority for macOS and add set_thread_name (#4605)

This commit is contained in:
Andy Grundman
2026-01-22 19:38:09 -05:00
committed by GitHub
parent f879294449
commit 3a12f96a86
17 changed files with 71 additions and 1 deletions

View File

@@ -236,6 +236,7 @@ namespace platf {
worker = std::thread {
[](loop_t::pointer loop) {
int retval;
platf::set_thread_name("audio::pulseaudio");
auto status = pa_mainloop_run(loop, &retval);
if (status < 0) {