Skip to content

Commit

Permalink
Merge pull request #117 from theMarix/fix_linux_compilation
Browse files Browse the repository at this point in the history
Fix compilation of thread priority handling on Linux
  • Loading branch information
gridcoin committed Aug 28, 2016
2 parents b7770fe + 892f26a commit 35eec1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util.h
Expand Up @@ -631,7 +631,8 @@ inline void SetThreadPriority(int nPriority)
#define THREAD_PRIORITY_LOWEST PRIO_MAX
#define THREAD_PRIORITY_BELOW_NORMAL 2
#define THREAD_PRIORITY_NORMAL 0
#define THREAD_PRIORITY_ABOVE_NORMAL 0
#define THREAD_PRIORITY_ABOVE_NORMAL -2
#define THREAD_PRIORITY_HIGHEST PRIO_MIN

inline void SetThreadPriority(int nPriority)
{
Expand Down

0 comments on commit 35eec1c

Please sign in to comment.