mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 17:41:12 +00:00
perf(threads): implement adjust_thread_priority for macOS and add set_thread_name (#4605)
This commit is contained in:
1 parent
f879294449
commit
3a12f96a86
17 files changed
+71
-1
No files matched your search
@@ -327,6 +327,10 @@ namespace platf {
|
||||
// Unimplemented
|
||||
}
|
||||
|
||||
void set_thread_name(const std::string &name) {
|
||||
pthread_setname_np(pthread_self(), name.c_str());
|
||||
}
|
||||
|
||||
void enable_mouse_keys() {
|
||||
// Unimplemented
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user