Files
ports/www/chromium/files/patch-base_threading_platform__thread.h
T
Joseph Mingrone a0dbfe2fb0 www/chromium: Update to version 87.0.4280.66
Submitted by:	Matthias Wolf, cem, rene
Obtained from:	Some patches from OpenBSD port (robert@openbsd.org)
2020-12-01 04:06:37 +00:00

12 lines
605 B
C

--- base/threading/platform_thread.h.orig 2020-11-13 06:36:34 UTC
+++ base/threading/platform_thread.h
@@ -230,7 +230,7 @@ class BASE_EXPORT PlatformThread {
// Returns a realtime period provided by |delegate|.
static TimeDelta GetRealtimePeriod(Delegate* delegate);
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || 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