ucc::atomic Class Reference

Generic atomic class for referencing atomic objects and static functions. More...

#include <atomic.h>


Static Public Attributes

static const bool simulated
 Set to true if atomics have to be simulated with mutexes.

Data Structures

class  counter
 Atomic counter class. More...
class  spinlock
 Atomic spinlock class. More...


Detailed Description

Generic atomic class for referencing atomic objects and static functions.

We have an atomic counter and spinlock, and in the future we may add other atomic classes and atomic manipulations needed to create lockfree data structures. The atomic classes use mutexes if no suitable atomic code is available.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition at line 42 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