mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-04-03 12:32:45 +02:00
Ian Abbott I just spotted what I think is a bug in "src/thread/pthread/SDL_sysmutex.c" in the SDL_TryLockMutex function when FAKE_RECURSIVE_MUTEX is defined (for an implementation of Pthreads with no recursive mutex support). It calls pthread_mutex_lock instead of pthread_mutex_trylock, so it will block until the mutex is available instead of returning SDL_MUTEX_TIMEDOUT if it cannot lock the mutex immediately. |
||
---|---|---|
.. | ||
SDL_syscond.c | ||
SDL_sysmutex_c.h | ||
SDL_sysmutex.c | ||
SDL_syssem.c | ||
SDL_systhread_c.h | ||
SDL_systhread.c | ||
SDL_systls.c |