aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-base_threading_platform__thread.h
blob: 70970f918ea1d40a9995c42f4b1a6de46104cbb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/threading/platform_thread.h.orig	2019-12-12 12:38:59 UTC
+++ base/threading/platform_thread.h
@@ -221,7 +221,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