|
Size: 1105
Comment: Added a note about the SDL mutex being a recursive mutex
|
← Revision 35 as of 2016-03-27 21:45:54 ⇥
Size: 1109
Comment: Changed wording.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| There are 3 primitives available in SDL: | There are three primitives available in SDL: |
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.
