aboutsummaryrefslogtreecommitdiff
path: root/src/threading.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/threading.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/threading.h b/src/threading.h
index e13932b..7d24ef0 100644
--- a/src/threading.h
+++ b/src/threading.h
@@ -15,7 +15,7 @@
15#define THREADAPI THREADAPI_PTHREAD 15#define THREADAPI THREADAPI_PTHREAD
16#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) 16#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
17 17
18static constexpr int THREAD_PRIO_DEFAULT{ -999 }; 18static constexpr int kThreadPrioDefault{ -999 };
19 19
20// ################################################################################################# 20// #################################################################################################
21// ################################################################################################# 21// #################################################################################################
@@ -40,8 +40,8 @@ static constexpr int THREAD_PRIO_DEFAULT{ -999 };
40#pragma message( "The value of _WIN32_WINNT: " XSTR(_WIN32_WINNT)) 40#pragma message( "The value of _WIN32_WINNT: " XSTR(_WIN32_WINNT))
41*/ 41*/
42 42
43static constexpr int THREAD_PRIO_MIN{ -3 }; 43static constexpr int kThreadPrioMin{ -3 };
44static constexpr int THREAD_PRIO_MAX{ +3 }; 44static constexpr int kThreadPrioMax{ +3 };
45 45
46// ################################################################################################# 46// #################################################################################################
47// ################################################################################################# 47// #################################################################################################
@@ -58,11 +58,11 @@ static constexpr int THREAD_PRIO_MAX{ +3 };
58#include <pthread.h> 58#include <pthread.h>
59 59
60#if defined(PLATFORM_LINUX) && !defined(LINUX_SCHED_RR) 60#if defined(PLATFORM_LINUX) && !defined(LINUX_SCHED_RR)
61static constexpr int THREAD_PRIO_MIN{ 0 }; 61static constexpr int kThreadPrioMin{ 0 };
62#else 62#else
63static constexpr int THREAD_PRIO_MIN{ -3 }; 63static constexpr int kThreadPrioMin{ -3 };
64#endif 64#endif
65static constexpr int THREAD_PRIO_MAX{ +3 }; 65static constexpr int kThreadPrioMax{ +3 };
66 66
67#endif // THREADAPI == THREADAPI_PTHREAD 67#endif // THREADAPI == THREADAPI_PTHREAD
68// ################################################################################################# 68// #################################################################################################