Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h
--- src/3rdparty/chromium/base/threading/platform_thread.h.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/base/threading/platform_thread.h.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/threading/platform_thread.h | +++ src/3rdparty/chromium/base/threading/platform_thread.h | ||||
@@ -217,7 +217,7 @@ class BASE_EXPORT PlatformThread { | @@ -230,7 +230,7 @@ class BASE_EXPORT PlatformThread { | ||||
// Returns a realtime period provided by |delegate|. | |||||
static TimeDelta GetRealtimePeriod(Delegate* delegate); | |||||
static ThreadPriority GetCurrentThreadPriority(); | -#if defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | |||||
-#if defined(OS_LINUX) | |||||
+#if defined(OS_LINUX) || defined(OS_BSD) | |||||
// Toggles a specific thread's priority at runtime. This can be used to | // 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 | // change the priority of a thread in a different process and will fail | ||||
// if the calling process does not have proper permissions. The | // if the calling process does not have proper permissions. The |