ScummVM API documentation
Alcachofa::FakeSemaphore Struct Reference

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)
 

Detailed Description

This fake semaphore does not work in multi-threaded scenarios It is used as a safer option for a simple "isBusy" counter.


The documentation for this struct was generated from the following file: