![]() |
Om
1.0.0
A universal framework for multimedia simulation
|
Functions | |
| template<typename T > | |
| T | readAndSet (T &operand, T value) |
| Atomically set the operand to the given value and return the previous operand value. More... | |
| template<typename T > | |
| T | addAndRead (T &operand, T value) |
| template<typename T > | |
| T | incrementAndRead (T &operand) |
| template<typename T > | |
| T | subAndRead (T &operand, T value) |
| template<typename T > | |
| T | decrementAndRead (T &operand) |
| template<typename T > | |
| T | orAndRead (T &operand, T value) |
| template<typename T > | |
| T | andAndRead (T &operand, T value) |
| template<typename T > | |
| T | xorAndRead (T &operand, T value) |
| template<typename T > | |
| T | nandAndRead (T &operand, T value) |
| template<typename T > | |
| T | readAndIncrement (T &operand) |
| template<typename T > | |
| T | readAndDecrement (T &operand) |
| template<typename T > | |
| T | readAndAdd (T &operand, T value) |
| template<typename T > | |
| T | readAndSub (T &operand, T value) |
| template<typename T > | |
| T | readAndOr (T &operand, T value) |
| template<typename T > | |
| T | readAndAnd (T &operand, T value) |
| template<typename T > | |
| T | readAndXor (T &operand, T value) |
| template<typename T > | |
| T | readAndNand (T &operand, T value) |
| template<typename T > | |
| Bool | testAndSet (T &operand, T compareValue, T newValue) |
| Test and return whether or not the operand is equal to the comparison value. If so, set the operand to the new value. More... | |
| T om::threads::atomic::readAndSet | ( | T & | operand, |
| T | value | ||
| ) |
Atomically set the operand to the given value and return the previous operand value.
| T om::threads::atomic::addAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::incrementAndRead | ( | T & | operand | ) |
| T om::threads::atomic::subAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::decrementAndRead | ( | T & | operand | ) |
| T om::threads::atomic::orAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::andAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::xorAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::nandAndRead | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndIncrement | ( | T & | operand | ) |
| T om::threads::atomic::readAndDecrement | ( | T & | operand | ) |
| T om::threads::atomic::readAndAdd | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndSub | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndOr | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndAnd | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndXor | ( | T & | operand, |
| T | value | ||
| ) |
| T om::threads::atomic::readAndNand | ( | T & | operand, |
| T | value | ||
| ) |
| Bool om::threads::atomic::testAndSet | ( | T & | operand, |
| T | compareValue, | ||
| T | newValue | ||
| ) |
Test and return whether or not the operand is equal to the comparison value. If so, set the operand to the new value.
1.8.11