SDL/src/thread
Sam Lantinga 7229397c0c Fixed bug 3258 - SDL_TryLockMutex blocks for pthreads with FAKE_RECURSIVE_MUTEX
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.
2017-08-11 21:47:31 -07:00
..
generic Updated copyright for 2017 2017-01-01 18:33:28 -08:00
psp PSP: Fixed error messages. 2017-04-02 21:33:54 +02:00
pthread Fixed bug 3258 - SDL_TryLockMutex blocks for pthreads with FAKE_RECURSIVE_MUTEX 2017-08-11 21:47:31 -07:00
stdcpp Updated copyright for 2017 2017-01-01 18:33:28 -08:00
windows windows: Change the default on SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING. 2017-06-06 13:12:43 -04:00
SDL_systhread.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_thread.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_thread_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00