This fake semaphore does not work in multi-threaded scenarios It is used as a safer option for a simple "isBusy" counter. More...
#include <common.h>
Public Member Functions | |
FakeSemaphore (const char *name, uint initialCount=0) | |
bool | isReleased () const |
uint | counter () const |
Static Public Member Functions | |
static void | sync (Common::Serializer &s, FakeSemaphore &semaphore) |
This fake semaphore does not work in multi-threaded scenarios It is used as a safer option for a simple "isBusy" counter.