aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorKaz Wesley <[email protected]>2016-05-05 11:55:46 -0700
committerKaz Wesley <[email protected]>2016-05-05 13:25:35 -0700
commite53e7c54736b98098553ba1a5191e093684f9114 (patch)
tree8849c71c722c0ec652da7bf4b062d8c5900a09dc /src/compat.h
parentMerge #7840: Several performance and privacy improvements to inv/mempool hand... (diff)
downloaddiscoin-e53e7c54736b98098553ba1a5191e093684f9114.tar.xz
discoin-e53e7c54736b98098553ba1a5191e093684f9114.zip
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 1225ea18e..79a297e5e 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