From 47c0bfe9012306aafb79ea63098383581a5f1fcd Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 12 Nov 2009 18:20:17 -0800 Subject: Few typos fixes. --- include/Atomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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; -- cgit v1.2.3