diff options
Diffstat (limited to 'clang-tools-extra/clangd/Threading.h')
-rw-r--r-- | clang-tools-extra/clangd/Threading.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Threading.h b/clang-tools-extra/clangd/Threading.h index 628dd558661..4c553288a24 100644 --- a/clang-tools-extra/clangd/Threading.h +++ b/clang-tools-extra/clangd/Threading.h @@ -122,7 +122,7 @@ enum class ThreadPriority { Low = 0, Normal = 1, }; -void setThreadPriority(std::thread &T, ThreadPriority Priority); +void setCurrentThreadPriority(ThreadPriority Priority); // Avoid the use of scheduler policies that may starve low-priority threads. // This prevents tests from timing out on loaded systems. // Affects subsequent setThreadPriority() calls. |