HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 52 of file SYS_AtomicImpl.h.

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

Definition at line 47 of file SYS_AtomicImpl.h.

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

Definition at line 42 of file SYS_AtomicImpl.h.