diff options
Diffstat (limited to '')
-rw-r--r-- | src/threading.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index 9c0d0fb..bedbcf8 100644 --- a/src/threading.cpp +++ b/src/threading.cpp | |||
@@ -204,7 +204,8 @@ void THREAD_SETNAME(std::string_view const& name_) | |||
204 | // general its implementation is pretty much trivial, as on Win32 target | 204 | // general its implementation is pretty much trivial, as on Win32 target |
205 | // just SCHED_OTHER can be supported. | 205 | // just SCHED_OTHER can be supported. |
206 | #undef pthread_attr_setschedpolicy | 206 | #undef pthread_attr_setschedpolicy |
207 | [[nodiscard]] static int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) | 207 | [[nodiscard]] |
208 | static int pthread_attr_setschedpolicy(pthread_attr_t* attr, int policy) | ||
208 | { | 209 | { |
209 | if (policy != SCHED_OTHER) { | 210 | if (policy != SCHED_OTHER) { |
210 | return ENOTSUP; | 211 | return ENOTSUP; |