VSF Documented
Namespaces | Macros | Typedefs
xatomic.h File Reference
#include "../../atomic"

Go to the source code of this file.

Namespaces

namespace  std
 

Macros

#define _MT_INCR(x)   _INTRIN_RELAXED(_InterlockedIncrement)(reinterpret_cast<volatile long*>(&x))
 
#define _MT_DECR(x)   _INTRIN_ACQ_REL(_InterlockedDecrement)(reinterpret_cast<volatile long*>(&x))
 

Typedefs

using std::_Atomic_counter_t = unsigned long
 

Macro Definition Documentation

◆ _MT_INCR

#define _MT_INCR (   x)    _INTRIN_RELAXED(_InterlockedIncrement)(reinterpret_cast<volatile long*>(&x))

◆ _MT_DECR

#define _MT_DECR (   x)    _INTRIN_ACQ_REL(_InterlockedDecrement)(reinterpret_cast<volatile long*>(&x))
Generated from commit: vsfteam/vsf@85be636