Contains thread-safe operations for inter-thread logic Increment and Decrement can be used to safely add to a shared uint04 value.
More...
#include <ConcurrentOperation.h>
|
static uint04 | decrement (volatile uint04 &value) |
|
static uint04 | increment (volatile uint04 &value) |
|
static void | notify (void *object) |
|
static void | notifyAll (void *object) |
|
template<class t_type , class t_function_type > |
static void | ParallelGrainSort (t_type *data, uint04 len, uint04 grain_size, const t_function_type &function) |
|
template<class t_type , class t_function_type > |
static void | ParallelSort (t_type *data, uint04 len, t_function_type function) |
|
static void | wait (void *object, std::unique_lock< std::mutex > &lock) |
|
static void | wait (void *object, uint08 time, std::unique_lock< std::mutex > &lock) |
|
Contains thread-safe operations for inter-thread logic Increment and Decrement can be used to safely add to a shared uint04 value.
Also contains sort, wait, and notify functions.
◆ decrement()
◆ increment()
◆ notify()
static void notify |
( |
void * | object | ) |
|
|
static |
◆ notifyAll()
static void notifyAll |
( |
void * | object | ) |
|
|
static |
◆ ParallelGrainSort()
template<class t_type , class t_function_type >
static void ParallelGrainSort |
( |
t_type * | data, |
|
|
uint04 | len, |
|
|
uint04 | grain_size, |
|
|
const t_function_type & | function ) |
|
inlinestatic |
◆ ParallelSort()
template<class t_type , class t_function_type >
static void ParallelSort |
( |
t_type * | data, |
|
|
uint04 | len, |
|
|
t_function_type | function ) |
|
inlinestatic |
◆ wait() [1/2]
static void wait |
( |
void * | object, |
|
|
std::unique_lock< std::mutex > & | lock ) |
|
static |
◆ wait() [2/2]
static void wait |
( |
void * | object, |
|
|
uint08 | time, |
|
|
std::unique_lock< std::mutex > & | lock ) |
|
static |
The documentation for this class was generated from the following file: