projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
URCU list: remove leftover namespace clash (list_t type removed)
[urcu.git]
/
urcu
/
wfqueue-static.h
diff --git
a/urcu/wfqueue-static.h
b/urcu/wfqueue-static.h
index 4839c47a32d43030f4f39bad27b7b888c158a544..30d6e963f321f9c7f836e8ae2f9a0b2d5a7e857d 100644
(file)
--- a/
urcu/wfqueue-static.h
+++ b/
urcu/wfqueue-static.h
@@
-79,7
+79,7
@@
void _cds_wfq_enqueue(struct cds_wfq_queue *q, struct cds_wfq_node *node)
* that the queue is being appended to. The following store will append
* "node" to the queue from a dequeuer perspective.
*/
* that the queue is being appended to. The following store will append
* "node" to the queue from a dequeuer perspective.
*/
- C
AA
_STORE_SHARED(*old_tail, node);
+ C
MM
_STORE_SHARED(*old_tail, node);
}
/*
}
/*
@@
-99,14
+99,14
@@
___cds_wfq_dequeue_blocking(struct cds_wfq_queue *q)
/*
* Queue is empty if it only contains the dummy node.
*/
/*
* Queue is empty if it only contains the dummy node.
*/
- if (q->head == &q->dummy && C
AA
_LOAD_SHARED(q->tail) == &q->dummy.next)
+ if (q->head == &q->dummy && C
MM
_LOAD_SHARED(q->tail) == &q->dummy.next)
return NULL;
node = q->head;
/*
* Adaptative busy-looping waiting for enqueuer to complete enqueue.
*/
return NULL;
node = q->head;
/*
* Adaptative busy-looping waiting for enqueuer to complete enqueue.
*/
- while ((next = C
AA
_LOAD_SHARED(node->next)) == NULL) {
+ while ((next = C
MM
_LOAD_SHARED(node->next)) == NULL) {
if (++attempt >= WFQ_ADAPT_ATTEMPTS) {
poll(NULL, 0, WFQ_WAIT); /* Wait for 10ms */
attempt = 0;
if (++attempt >= WFQ_ADAPT_ATTEMPTS) {
poll(NULL, 0, WFQ_WAIT); /* Wait for 10ms */
attempt = 0;
This page took
0.022866 seconds
and
4
git commands to generate.