|
Size: 995
Comment: Fixed search to exclude the right pages.
|
Size: 1105
Comment: Added a note about the SDL mutex being a recursive mutex
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| The SDL mutex is implemented as a recursive mutex so you can nest lock and unlock calls to the same mutex. |
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 3 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.
