| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | /** |
| | | * \name Mutex functions |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /* The SDL mutex structure, defined in SDL_sysmutex.c */ |
| | | struct SDL_mutex; |
| | |
| | | */ |
| | | extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex); |
| | | |
| | | /*@}*//*Mutex functions*/ |
| | | /* @} *//* Mutex functions */ |
| | | |
| | | |
| | | /** |
| | | * \name Semaphore functions |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /* The SDL semaphore structure, defined in SDL_syssem.c */ |
| | | struct SDL_semaphore; |
| | |
| | | */ |
| | | extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem); |
| | | |
| | | /*@}*//*Semaphore functions*/ |
| | | /* @} *//* Semaphore functions */ |
| | | |
| | | |
| | | /** |
| | | * \name Condition variable functions |
| | | */ |
| | | /*@{*/ |
| | | /* @{ */ |
| | | |
| | | /* The SDL condition variable structure, defined in SDL_syscond.c */ |
| | | struct SDL_cond; |
| | |
| | | extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond, |
| | | SDL_mutex * mutex, Uint32 ms); |
| | | |
| | | /*@}*//*Condition variable functions*/ |
| | | /* @} *//* Condition variable functions */ |
| | | |
| | | |
| | | /* Ends C function definitions when using C++ */ |