mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
parent
642262e30e
commit
2be749b23b
2 changed files with 26 additions and 2 deletions
|
@ -25,7 +25,19 @@
|
|||
/**
|
||||
* # CategoryThread
|
||||
*
|
||||
* SDL thread management routines.
|
||||
* SDL offers cross-platform thread management functions. These are mostly
|
||||
* concerned with starting threads, setting their priority, and dealing with
|
||||
* their termination.
|
||||
*
|
||||
* In addition, there is support for Thread Local Storage (data that is unique
|
||||
* to each thread, but accessed from a single key).
|
||||
*
|
||||
* On platforms without thread support (such as Emscripten when built without
|
||||
* pthreads), these functions still exist, but things like SDL_CreateThread()
|
||||
* will report failure without doing anything.
|
||||
*
|
||||
* If you're going to work with threads, you almost certainly need to have a
|
||||
* good understanding of [CategoryMutex](CategoryMutex) as well.
|
||||
*/
|
||||
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue