aboutsummaryrefslogtreecommitdiff
path: root/dep/include/zthread/AtomicCount.h
diff options
context:
space:
mode:
authorParadox <none@none>2009-02-09 08:16:34 -0500
committerParadox <none@none>2009-02-09 08:16:34 -0500
commitd230302b16474ff22a35243ffed6236ef4fc7fb9 (patch)
treee3679ad841a47b275756f2721f9aa24a3ee548a6 /dep/include/zthread/AtomicCount.h
parentb0694d7e5e794b361fa178d55fefdb98cf47e9ca (diff)
Replace tabs with spaces in more files.
--HG-- branch : trunk
Diffstat (limited to 'dep/include/zthread/AtomicCount.h')
-rw-r--r--dep/include/zthread/AtomicCount.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/dep/include/zthread/AtomicCount.h b/dep/include/zthread/AtomicCount.h
index ea042a7feb2..38e67dc0d0b 100644
--- a/dep/include/zthread/AtomicCount.h
+++ b/dep/include/zthread/AtomicCount.h
@@ -33,7 +33,7 @@ namespace ZThread {
/**
* @class AtomicCount
* @author Eric Crahen <http://www.code-foo.com>
- * @date <2003-07-16T09:41:55-0400>
+ * @date <2003-07-16T09:41:55-0400>
* @version 2.3.0
*
* This class provides an interface to a small integer whose value can be
@@ -42,33 +42,33 @@ namespace ZThread {
* counts.
*/
class ZTHREAD_API AtomicCount : public NonCopyable {
-
+
void* _value;
-
+
public:
-
+
//! Create a new AtomicCount, initialized to a value of 1
AtomicCount();
//! Destroy a new AtomicCount
~AtomicCount();
-
+
//! Postfix decrement and return the current value
size_t operator--(int);
-
+
//! Postfix increment and return the current value
- size_t operator++(int);
+ size_t operator++(int);
//! Prefix decrement and return the current value
size_t operator--();
-
+
//! Prefix increment and return the current value
- size_t operator++();
+ size_t operator++();
}; /* AtomicCount */
-
+
} // namespace ZThread
#endif // __ZTATOMICCOUNT_H__