Wiki Page Content

Differences between revisions 19 and 20
Revision 19 as of 2014-12-27 13:07:52
Size: 1505
Comment: Added ().
Revision 20 as of 2015-06-20 08:12:47
Size: 1266
Editor: Sam Lantinga
Comment: Removed note that you need to call SDL_Init() before thread functions. That's not true, at least anymore.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
''NOTE'': Avoid creating threads or synchronization primitives prior to calling [[SDL_Init]](). While on some platforms (i.e. Windows) these functions will work correctly before SDL initialization, other platforms (i.e. Linux) may not.

Thread Management

Include File(s): SDL_thread.h, SDL_mutex.h (contains thread synchronization primitives)

Introduction

This category contains functions for system independent thread management routines.

NOTE: You should not expect to be able to create a window, render, or receive events on any thread other than the main one. For platform-specific exceptions or complicated options ask on the mailing list or forum.

Enumerations

Functions


CategoryCategory

None: CategoryThread (last edited 2017-07-15 21:51:08 by PhilippWiesemann)

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