Embedded Multicore Building Blocks V1.0.0
Classes
Mutex and Lock

Mutexes and locks for thread synchronization. More...

Classes

class  embb::base::Spinlock
 Spinlock. More...
 
class  embb::base::Mutex
 Non-recursive, exclusive mutex. More...
 
class  embb::base::RecursiveMutex
 Recursive, exclusive mutex. More...
 
class  embb::base::LockGuard< Mutex >
 Scoped lock (according to the RAII principle) using a mutex. More...
 
class  embb::base::UniqueLock< Mutex >
 Flexible ownership wrapper for a mutex. More...
 

UniqueLock Tag Variables

const DeferLockTag embb::base::defer_lock = DeferLockTag()
 Tag variable for deferred UniqueLock construction. More...
 
const TryLockTag embb::base::try_lock = TryLockTag()
 Tag variable for try-lock UniqueLock construction. More...
 
const AdoptLockTag embb::base::adopt_lock = AdoptLockTag()
 Tag variable for adopt UniqueLock construction. More...
 

Detailed Description

Mutexes and locks for thread synchronization.

Variable Documentation

const DeferLockTag embb::base::defer_lock = DeferLockTag()

Tag variable for deferred UniqueLock construction.

const TryLockTag embb::base::try_lock = TryLockTag()

Tag variable for try-lock UniqueLock construction.

const AdoptLockTag embb::base::adopt_lock = AdoptLockTag()

Tag variable for adopt UniqueLock construction.