Thread Synchronization Primitives
Include File(s): SDL_mutex.h, SDL_thread.h
Introduction
Functions in this group provide thread synchronization primitives for multi-threaded programing.
There are three primitives available in SDL:
- Mutex
- Semaphore
- Condition Variable
The SDL mutex is implemented as a recursive mutex so you can nest lock and unlock calls to the same mutex.