Wiki Page Content

Differences between revisions 33 and 34
Revision 33 as of 2013-10-12 19:33:25
Size: 995
Comment: Fixed search to exclude the right pages.
Revision 34 as of 2014-02-09 11:22:24
Size: 1105
Editor: Sam Lantinga
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.

Functions


CategoryCategory

None: CategoryMutex (last edited 2016-03-27 21:45:54 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit