|
SDL
2.0
|
#include "../../SDL_internal.h"#include "SDL_thread.h"#include "../SDL_thread_c.h"#include "../SDL_systhread.h"#include "SDL_log.h"#include <mutex>#include <thread>#include <system_error>
Include dependency graph for SDL_systhread.cpp:Go to the source code of this file.
Functions | |
| static void | RunThread (void *args) |
| int | SDL_SYS_CreateThread (SDL_Thread *thread, void *args) |
| void | SDL_SYS_SetupThread (const char *name) |
| SDL_threadID | SDL_ThreadID (void) |
| int | SDL_SYS_SetThreadPriority (SDL_ThreadPriority priority) |
| void | SDL_SYS_WaitThread (SDL_Thread *thread) |
| void | SDL_SYS_DetachThread (SDL_Thread *thread) |
| SDL_TLSData * | SDL_SYS_GetTLSData () |
| int | SDL_SYS_SetTLSData (SDL_TLSData *data) |
Definition at line 41 of file SDL_systhread.cpp.
References SDL_RunThread().
Referenced by SDL_SYS_CreateThread().
| int SDL_SYS_CreateThread | ( | SDL_Thread * | thread, |
| void * | args | ||
| ) |
Definition at line 48 of file SDL_systhread.cpp.
References SDL_Thread::handle, RunThread(), SDL_OutOfMemory, and SDL_SetError.
| void SDL_SYS_DetachThread | ( | SDL_Thread * | thread | ) |
| SDL_TLSData* SDL_SYS_GetTLSData | ( | ) |
| int SDL_SYS_SetThreadPriority | ( | SDL_ThreadPriority | priority | ) |
Definition at line 96 of file SDL_systhread.cpp.
| int SDL_SYS_SetTLSData | ( | SDL_TLSData * | data | ) |
| void SDL_SYS_SetupThread | ( | const char * | name | ) |
| void SDL_SYS_WaitThread | ( | SDL_Thread * | thread | ) |
| SDL_threadID SDL_ThreadID | ( | void | ) |
Get the thread identifier for the current thread.
Definition at line 74 of file SDL_systhread.cpp.
Referenced by SDL_SYS_SetupThread().