Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
atomic.h File Reference
#include <mitsuba/mitsuba.h>

Go to the source code of this file.

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_CORE_ATOMIC_H_
 

Functions

template<typename T >
bool mitsuba::atomicCompareAndExchangePtr (T **v, T *newValue, T *oldValue)
 Atomically attempt to exchange a pointer with another value. More...
 
bool mitsuba::atomicCompareAndExchange (volatile int32_t *v, int32_t newValue, int32_t oldValue)
 Atomically attempt to exchange a 32-bit integer with another value. More...
 
bool mitsuba::atomicCompareAndExchange (volatile int64_t *v, int64_t newValue, int64_t oldValue)
 Atomically attempt to exchange a 64-bit integer with another value. More...
 
float mitsuba::atomicAdd (volatile float *dst, float delta)
 Atomically add delta to the floating point destination dst. More...
 
double mitsuba::atomicAdd (volatile double *dst, double delta)
 Atomically add delta to the floating point destination dst. More...
 
int32_t mitsuba::atomicAdd (volatile int32_t *dst, int32_t delta)
 Atomically add delta to the 32-bit integer destination dst. More...
 
int64_t mitsuba::atomicAdd (volatile int64_t *dst, int64_t delta)
 Atomically add delta to the 64-bit integer destination dst. More...
 
int64_t mitsuba::atomicMaximum (volatile int64_t *dst, int64_t value)
 Atomically set dst to the maximum of itself and value. More...
 
int32_t mitsuba::atomicMaximum (volatile int32_t *dst, int32_t value)
 

Macro Definition Documentation

#define __MITSUBA_CORE_ATOMIC_H_