fbxsdk/core/sync/fbxsync.h Source File
Go to the documentation of this file.
13 #ifndef _FBXSDK_CORE_SYNC_H_
14 #define _FBXSDK_CORE_SYNC_H_
18 #if !defined(FBXSDK_ENV_WINSTORE) && !defined(FBXSDK_ENV_EMSCRIPTEN)
26 class FbxSemaphoreImpl;
66 FbxMutex(
bool pInitialOwnership=
false);
79 bool TryAcquire(
unsigned int pRetryCount);
107 bool Wait(
unsigned int pCount=1);
113 bool Signal(
unsigned int pCount=1);
116 FbxSemaphoreImpl* mImpl;
172 void Push(Item* pItem);
A spinlock is the fastest and most simple thread lock mechanism available.
FBX SDK environment definition.
A simple stack of linked items that is multi-thread safe, protected by a spinlock.
A gate thread locking mechanism is very similar to a semaphore, except that when it is opened...
Mutually excluding thread lock mechanism.
Mutually excluding thread waiting mechanism with a counter.
A single link item to be used to construct the stack.