projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workqueue/waitqueue: use lock-free stack for wakeup
[urcu.git]
/
urcu
/
workqueue-fifo.h
diff --git
a/urcu/workqueue-fifo.h
b/urcu/workqueue-fifo.h
index 0769acced6667b6d56ffd20b65fd0d160602cdc6..68e050afdce43314b67cea2ad570fc3e836d8a37 100644
(file)
--- a/
urcu/workqueue-fifo.h
+++ b/
urcu/workqueue-fifo.h
@@
-24,7
+24,7
@@
*/
#include <urcu/uatomic.h>
*/
#include <urcu/uatomic.h>
-#include <urcu/
w
fstack.h>
+#include <urcu/
l
fstack.h>
#include <urcu/waitqueue-lifo.h>
#include <urcu/wfcqueue.h>
#include <urcu/rculist.h>
#include <urcu/waitqueue-lifo.h>
#include <urcu/wfcqueue.h>
#include <urcu/rculist.h>
@@
-315,7
+315,7
@@
void urcu_accept_work(struct urcu_workqueue *queue,
* NULL next pointer. We are therefore not in
* the queue.
*/
* NULL next pointer. We are therefore not in
* the queue.
*/
- cds_
w
fs_node_init(&worker->wait_node.node);
+ cds_
l
fs_node_init(&worker->wait_node.node);
/* Protect stack dequeue against ABA */
synchronize_rcu();
was_empty = !urcu_wait_add(&queue->waitqueue,
/* Protect stack dequeue against ABA */
synchronize_rcu();
was_empty = !urcu_wait_add(&queue->waitqueue,
This page took
0.022733 seconds
and
4
git commands to generate.