forked from Lainports/opnsense-ports
11 lines
611 B
C
11 lines
611 B
C
--- base/threading/platform_thread.h.orig 2022-09-24 10:57:32 UTC
|
|
+++ base/threading/platform_thread.h
|
|
@@ -253,7 +253,7 @@ class BASE_EXPORT PlatformThread {
|
|
// Returns a realtime period provided by `delegate`.
|
|
static TimeDelta GetRealtimePeriod(Delegate* delegate);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Toggles a specific thread's type 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
|