ADTF  3.18.2
a_util::concurrency Namespace Reference

Serves as component for concurrency handling, mainly but not exclusively for code compatibility to standard thread support. More...

Namespaces

 detail
 Serves as namespace for concurrency implementation details.
 
 this_thread
 Serves as namespace for code compatibility to std::thread::this_thread.
 

Classes

class  fast_mutex
 Fast mutex class, implemented as an atomic spin lock with very low CPU overhead. More...
 
class  shared_mutex
 A shared_mutex class as a workaround for std::shared_timed_mutex. More...
 

Typedefs

typedef detail::basic_semaphore< std::mutex, std::condition_variable > semaphore
 Default semaphore using std::mutex and std::condition_variable
 

Functions

void memoryBarrier ()
 Inserts a memory fence instruction, causing the CPU to enforce strict memory ordering before and after the instruction.
 

Detailed Description

Serves as component for concurrency handling, mainly but not exclusively for code compatibility to standard thread support.