Fix: mixup between URCU_WORKQUEUE_RT and URCU_CALL_RCU_RT
[urcu.git] / src / workqueue.c
index 17ea835779b8bed4f4ab77fc70b0c5ba7d6ca8a3..8561a7a817dfd1dac7fff3aa4353682fc55edc79 100644 (file)
@@ -309,7 +309,7 @@ struct urcu_workqueue *urcu_workqueue_create(unsigned long flags,
 
 static void wake_worker_thread(struct urcu_workqueue *workqueue)
 {
-       if (!(_CMM_LOAD_SHARED(workqueue->flags) & URCU_CALL_RCU_RT))
+       if (!(_CMM_LOAD_SHARED(workqueue->flags) & URCU_WORKQUEUE_RT))
                futex_wake_up(&workqueue->futex);
 }
 
This page took 0.022886 seconds and 4 git commands to generate.