carb::tasking::Mutex

Defined in carb/tasking/TaskingTypes.h

class Mutex

A fiber-aware mutex: a synchronization primitive for mutual exclusion.

Only one thread/fiber can “own” the mutex at a time.

See also

ITasking::createMutex(), ITasking::destroyMutex(), ITasking::lockMutex(), ITasking::timedLockMutex(), ITasking::unlockMutex(), ITasking::createRecursiveMutex()

Note

Prefer using MutexWrapper.