summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-base_threading_platform__thread.h
blob: a3b866a6ee3b3c8a41f7bec5a12f5c3b538272e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/threading/platform_thread.h.orig	2019-09-10 11:13:31 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