UCommon

ucommon/atomic.h File Reference

Atomic pointers and locks. More...

#include <ucommon/platform.h>
Include dependency graph for atomic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  atomic
 Generic atomic class for referencing atomic objects and static functions. More...
class  atomic::counter
 Atomic counter class. More...
class  atomic::spinlock
 Atomic spinlock class. More...

Detailed Description

Atomic pointers and locks.

These are meant to use atomic CPU operations and hence offer maximum performance.

Author:
David Sugar <dyfet@gnutelephony.org>

Definition in file atomic.h.