diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2025-05-06 15:56:38 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2025-05-06 15:56:38 +0200 |
commit | 96baba9fcef3f0395c18b339392f5bded25e3004 (patch) | |
tree | ed98f58aaecf093f00c0fe8c6c5029575339507a | |
parent | c3f84bfe9c37df94abaff9eaf73cba23ede32c44 (diff) | |
download | lanes-96baba9fcef3f0395c18b339392f5bded25e3004.tar.gz lanes-96baba9fcef3f0395c18b339392f5bded25e3004.tar.bz2 lanes-96baba9fcef3f0395c18b339392f5bded25e3004.zip |
Fix priorities for Mingw builds
-rw-r--r-- | src/threading.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index 3435075..483a228 100644 --- a/src/threading.cpp +++ b/src/threading.cpp | |||
@@ -336,8 +336,8 @@ static int const gs_prio_remap[] = { | |||
336 | // | 336 | // |
337 | #define _PRIO_MODE SCHED_OTHER | 337 | #define _PRIO_MODE SCHED_OTHER |
338 | #define _PRIO_SCOPE PTHREAD_SCOPE_PROCESS | 338 | #define _PRIO_SCOPE PTHREAD_SCOPE_PROCESS |
339 | #define _PRIO_HI 31 | 339 | #define _PRIO_HI 15 |
340 | #define _PRIO_0 15 | 340 | #define _PRIO_0 7 |
341 | #define _PRIO_LO 1 | 341 | #define _PRIO_LO 1 |
342 | #else | 342 | #else |
343 | #error "Unknown OS: not implemented!" | 343 | #error "Unknown OS: not implemented!" |