World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
44 #define SDL_MUTEX_TIMEDOUT 1
49 #define SDL_MUTEX_MAXWAIT (~(Uint32)0)
71 #define SDL_mutexP(m) SDL_LockMutex(m)
89 #define SDL_mutexV(m) SDL_UnlockMutex(m)
106 struct SDL_semaphore;
struct SDL_semaphore SDL_sem
DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond)
DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms)
DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem *sem, Uint32 ms)
DECLSPEC SDL_cond *SDLCALL SDL_CreateCond(void)
DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void)
DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem)
DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value)
DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex *mutex)
DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex)
DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem *sem)
DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond *cond)
DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond)
DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mutex)
DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem)
struct SDL_mutex SDL_mutex
DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem *sem)
DECLSPEC int SDLCALL SDL_SemPost(SDL_sem *sem)
DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex *mutex)
DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex *mutex)