Browse Source

Merge branch 'candidate-8.4.x'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 3 years ago
parent
commit
c74ce3ac69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/jlib/jmutex.hpp

+ 1 - 1
system/jlib/jmutex.hpp

@@ -429,7 +429,7 @@ public:
     inline void enter()       
     { 
         ThreadId self = GetCurrentThreadId(); 
-#ifdef SPINLOCK_RR_CHECK    // as requested by RKC 
+#if defined(SPINLOCK_RR_CHECK) && !defined(_WIN32)    // as requested by RKC
         int policy;
         sched_param param;
         if ((pthread_getschedparam(self, &policy, &param)==0)&&(policy==SCHED_RR)) {