diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Atomic.h b/include/Atomic.h index 1137d27..173eb70 100644 --- a/include/Atomic.h +++ b/include/Atomic.h @@ -148,7 +148,7 @@ class Queue { T * unqueue(T ** pval = 0) { T * r; if (!PendingReads.empty()) { - r = this->PopPendingReads(); + r = PopPendingRead(); if (pval) *pval = r; return r; @@ -189,7 +189,7 @@ class Queue { void SwapReadAndWrite() { while (true) { - node_t * rh = RHead, ow = WHead; + node_t * rh = RHead, * ow = WHead; if (CmpXChgBool(&WHead, rh, ow)) { RHead = ow; return; |