carb::tasking::Semaphore

Defined in carb/tasking/TaskingTypes.h

class Semaphore

A fiber-aware semaphore: a synchronization primitive that limits to N threads/fibers.

See also

ITasking::createSemaphore(), ITasking::destroySemaphore(), ITasking::releaseSemaphore(), ITasking::waitSemaphore(), ITasking::timedWaitSemaphore()

Note

Prefer using SemaphoreWrapper.