mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-15 15:58:13 +00:00
Make sure SDL subsystems are initialized before starting threads
This commit is contained in:
@@ -289,6 +289,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Do any initialization that needs to happen before threads are started */
|
||||
extern void SDL_InitMainThread(void);
|
||||
|
||||
extern int SDLCALL SDL_WaitSemaphoreTimeoutNS(SDL_Semaphore *sem, Sint64 timeoutNS);
|
||||
extern int SDLCALL SDL_WaitConditionTimeoutNS(SDL_Condition *cond, SDL_Mutex *mutex, Sint64 timeoutNS);
|
||||
extern SDL_bool SDLCALL SDL_WaitEventTimeoutNS(SDL_Event *event, Sint64 timeoutNS);
|
||||
|
Reference in New Issue
Block a user