diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-12 18:20:17 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-12 18:20:17 -0800 |
commit | 47c0bfe9012306aafb79ea63098383581a5f1fcd (patch) | |
tree | af3343a4c59ebd70b024a3ac34c36a55106e4a13 /include | |
parent | 8e7e2af92a475ddd2344fdd4d5ea878a7d77b320 (diff) |
Few typos fixes.
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; |