aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorKaz Wesley <keziahw@gmail.com>2016-05-05 11:55:46 -0700
committerKaz Wesley <keziahw@gmail.com>2016-05-05 13:25:35 -0700
commite53e7c54736b98098553ba1a5191e093684f9114 (patch)
tree8849c71c722c0ec652da7bf4b062d8c5900a09dc /src/compat.h
parent3b9a0bf41f2336b09e854522ab1ce6dcfc7a3050 (diff)
don't run ThreadMessageHandler at lowered priority
There's no clear reason ThreadMessageHandler should be low priority. Fixes #8010 (priority inversion).
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/compat.h b/src/compat.h
index 1225ea18ed..79a297e5e4 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -78,17 +78,6 @@ typedef u_int SOCKET;
#define MSG_NOSIGNAL 0
#endif
-#ifndef WIN32
-// PRIO_MAX is not defined on Solaris
-#ifndef PRIO_MAX
-#define PRIO_MAX 20
-#endif
-#define THREAD_PRIORITY_LOWEST PRIO_MAX
-#define THREAD_PRIORITY_BELOW_NORMAL 2
-#define THREAD_PRIORITY_NORMAL 0
-#define THREAD_PRIORITY_ABOVE_NORMAL (-2)
-#endif
-
#if HAVE_DECL_STRNLEN == 0
size_t strnlen( const char *start, size_t max_len);
#endif // HAVE_DECL_STRNLEN