CoopSync for TBB 0.1.0
Cooperative synchronization primitives for TBB resumable tasks
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 Ncoopsync_tbbMain namespace of the library, containing all public APIs
 Catomic_conditionWrapper around std::atomic that provides atomic waiting which suspends the calling task instead of blocking it
 Catomic_flagWrapper around std::atomic_flag that provides atomic waiting which suspends the calling task instead of blocking it, as well as exposing atomic test, set and clear operations
 Catomic_ref_conditionWrapper around std::atomic_ref that provides atomic waiting which suspends the calling task instead of blocking it
 CbarrierA barrier is a reusable synchronization primitive that allows tasks to suspend until a certain number of arrivals have occurred. The barrier is reusable, meaning that once the expected number of arrivals has been reached and the completion function has been called, the barrier can be used again for the next phase. Concurrent invocations of the member functions. except for destructor, are safe
 Carrival_tokenAn opaque value representing task arrival at the barrier. It is used to wait for the completion of a phase
 Ccondition_variableCondition variable used to synchronize tasks. The tasks can be suspended on this condition variable and then later notify to resume if given condition is met
 Cfuture_errorException type thrown by future and promise operations
 CfutureFuture holding a shared state with a value type. Waiting or getting the value from a not ready state suspends the current task until the state becomes ready. After the value is retrieved, the future is left in not valid state and cannot be used again
 CpromisePromise holding a shared state with a value type. The promise is used to set the value in the shared state that can be retrieved by a future sharing the same state
 Cshared_futureCopyable future that allows retrieving the result multiple times
 Cfuture< void >Specialization of future for void type
 Cfuture< T & >Specialization of future for reference types
 Cshared_future< void >Specialization of shared_future for void type
 Cshared_future< T & >Specialization of shared_future for reference types
 Cpromise< void >Specialization of promise for void type. The promise<void> does not store a value, but only the state of readiness and any exception
 Cpromise< T & >Specialization of promise for reference types. The promise<T&> stores a reference to a value of type T in the shared state
 Cpackaged_task< R(Args...)>Class template wrapping a callable object and allowing to invoke it asynchronously, storing the result in a shared state that can be accessed through a future
 ClatchA latch is a down-ward counter that allows tasks to wait until the counter reaches zero. The latch is not reusable, i.e., once the counter reaches zero, it cannot be incremented again. Concurrent invocations of the member functions, except for destructor, are safe
 CmutexA mutex that can be used to synchronize access to shared resources. The mutex is non-recursive and provides no fairness guarantees. An attempt to acquire a mutex that is already in acquired state suspends the calling task until the mutex can be acquired
 Cscoped_lockRAII wrapper for mutex that acquires the mutex on construction and releases it on destruction
 Ccounting_semaphoreA counting semaphore that allows tasks to synchronize based on a counter. The semaphore is initialized with a non-negative count, and tasks can acquire the semaphore by decrementing the count or release the semaphore by incrementing the count. If a task tries to acquire the semaphore when the count is zero, it is suspended until the count becomes greater than zero. Concurrent invocations of the member functions, except for destructor, are safe
 Ccounting_semaphore< 1 >A specialization of a counting_semaphore handling only a single permit. Same as binary_semaphore
 Cshared_mutexA shared mutex that can be used to synchronize access to shared resources. The mutex can be acquired in exclusive (writer) mode (lock) or shared (reader) mode (lock_shared). The mutex is non-recursive and provides no fairness guarantees
 Cscoped_lockRAII wrapper for mutex that acquires the mutex on construction and releases it on destruction