ucc::atomic::counter Class Reference

Atomic counter class. More...

#include <atomic.h>


Public Member Functions

 counter (long initial=0)
 operator long ()
long operator* ()
long operator++ ()
long operator+= (long offset)
long operator-- ()
long operator-= (long offset)


Detailed Description

Atomic counter class.

Can be used to manipulate value of an atomic counter without requiring explicit thread locking.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 55 of file atomic.h.


The documentation for this class was generated from the following file:

Generated on Tue May 17 12:15:24 2011 for UCommon by  doxygen 1.5.6