MIRA
|
Contains methods for simple atomic operations (such as increment, etc.) that are thread-safe without the need to lock a mutex, etc. More...
#include <boost/version.hpp>
#include <boost/interprocess/detail/atomic.hpp>
#include <platform/Types.h>
Go to the source code of this file.
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
mira::atomic | |
Macros | |
#define | MIRA_BOOST_DETAIL_NAMESPACE detail |
Functions | |
uint32 | inc (volatile uint32 *var) |
Increments the value of the variable pointed to by var and returns its old value. More... | |
uint32 | dec (volatile uint32 *var) |
Decrements the value of the variable pointed to by var and returns its old value. More... | |
void | write (volatile uint32 *var, uint32 value) |
Sets the value of the variable pointed to by var in an atomic operation. More... | |
uint32 | cas (volatile uint32 *var, uint32 value, uint32 cmp) |
Compare And Swap. More... | |
Contains methods for simple atomic operations (such as increment, etc.) that are thread-safe without the need to lock a mutex, etc.
This is basically a facade for boost/interprocess/detail/atomic.hpp which may change in future releases.
#define MIRA_BOOST_DETAIL_NAMESPACE detail |