Dev Essential
Loading...
Searching...
No Matches
a_util::concurrency Namespace Reference

Namespaces

namespace  detail
 Serves as namespace for concurrency implementation details.
 
namespace  this_thread
 

Classes

class  fast_mutex
 Fast mutex class, implemented as an atomic spin lock with very low CPU overhead. More...
 
class  shared_mutex
 

Typedefs

typedef detail::basic_semaphore< std::mutex, std::condition_variable > semaphore
 

Functions

void memoryBarrier ()
 

Detailed Description

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

Typedef Documentation

◆ semaphore

typedef detail::basic_semaphore<std::mutex, std::condition_variable> a_util::concurrency::semaphore

Default semaphore using std::mutex and std::condition_variable

Function Documentation

◆ memoryBarrier()

void a_util::concurrency::memoryBarrier ( )

Inserts a memory fence instruction, causing the CPU to enforce strict memory ordering before and after the instruction