summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-base_threading_platform__thread.h
blob: 255e3d75b760a8a1d6ce664a5bc370c448d0078a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/threading/platform_thread.h.orig	2019-03-15 06:36:56 UTC
+++ base/threading/platform_thread.h
@@ -217,7 +217,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