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  ucommon::Atomic
 Generic atomic class for referencing atomic objects and static functions. More...
 
class  ucommon::Atomic::counter
 Atomic counter class. More...
 
class  ucommon::Atomic::spinlock
 Atomic spinlock class. More...
 

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Typedefs

typedef int atomic_t
 

Detailed Description

Atomic pointers and locks.

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

Author
David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org

Definition in file atomic.h.

Typedef Documentation

◆ atomic_t

typedef int atomic_t

Definition at line 36 of file atomic.h.