Wiki Page Content

Differences between revisions 14 and 15
Revision 14 as of 2012-01-04 18:40:51
Size: 1251
Editor: SheenaSmith
Comment: cached searchs
Revision 15 as of 2012-09-28 04:17:12
Size: 1548
Editor: msturner
Comment: Added note about the importance of calling SDL_Init prior to creating threads and synchronization primitives.
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Line 8: Line 7:
Line 17: Line 15:
 
''NOTE'': Avoid creating threads or synchronization primitives prior to calling [[http://wiki.libsdl.org/moin.cgi/SDL_Init|SDL_Init]]. While on some platforms (i.e. Windows) these functions will work correctly before SDL initialization, other platforms (i.e. Linux) may not.
Line 24: Line 24:
Line 29: Line 28:
CategoryCategory !CategoryCategory

----
!CategoryThread

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.

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.

Enumerations

Functions


CategoryCategory


CategoryThread

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