pkgsrc-wip/chromium/patches/patch-base_threading_platfo...

14 lines
519 B
C

$NetBSD$
--- base/threading/platform_thread.h.orig 2020-06-25 09:31:18.000000000 +0000
+++ 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