X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=src%2Fworkqueue.c;h=0b1a9eae41f91ba5bad8dc7e43db2731707d8854;hp=6707ffe3b45e2c2226d99c3b163d4e1c820028aa;hb=73d8b52e55af02475eb693a33b36fcfbcf761c9a;hpb=d25f25df027b158726f8a361e52f0e3a7529d5eb diff --git a/src/workqueue.c b/src/workqueue.c index 6707ffe..0b1a9ea 100644 --- a/src/workqueue.c +++ b/src/workqueue.c @@ -238,7 +238,6 @@ static void *workqueue_thread(void *arg) if (cds_wfcq_empty(&workqueue->cbs_head, &workqueue->cbs_tail)) { futex_wait(&workqueue->futex); - (void) poll(NULL, 0, 10); uatomic_dec(&workqueue->futex); /* * Decrement futex before reading