mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -04:00
11 lines
497 B
C
11 lines
497 B
C
--- base/threading/platform_thread.h.orig 2019-03-11 22:00:51 UTC
|
|
+++ base/threading/platform_thread.h
|
|
@@ -220,7 +220,7 @@ class BASE_EXPORT PlatformThread {
|
|
|
|
static ThreadPriority GetCurrentThreadPriority();
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
// Toggles a specific thread's priority at runtime. This can be used to
|
|
// change the priority of a thread in a different process and will fail
|
|
// if the calling process does not have proper permissions. The
|