HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SYS_AtomicImpl Namespace Reference

Functions

template<typename T >
test_and_set (T *addr, T val)
 
template<typename T >
test_and_add (T *addr, T val)
 
template<typename T >
compare_and_swap (volatile T *addr, T oldval, T newval)
 

Function Documentation

template<typename T >
T SYS_AtomicImpl::compare_and_swap ( volatile T *  addr,
oldval,
newval 
)

Definition at line 54 of file SYS_AtomicImpl.h.

template<typename T >
T SYS_AtomicImpl::test_and_add ( T *  addr,
val 
)

Definition at line 49 of file SYS_AtomicImpl.h.

template<typename T >
T SYS_AtomicImpl::test_and_set ( T *  addr,
val 
)

Definition at line 44 of file SYS_AtomicImpl.h.