ucommon::atomic::counter Class Reference

Atomic counter class. More...

#include <atomic.h>


Public Member Functions

 counter (long initial=0)
long operator * ()
 operator long ()
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 14 Aug 2013 for UCommon by  doxygen 1.4.7