|
SDL
2.0
|
#include "../../SDL_internal.h"#include "SDL_system.h"#include "SDL_hints.h"#include <pthread.h>#include <signal.h>#include "SDL_platform.h"#include "SDL_thread.h"#include "../SDL_thread_c.h"#include "../SDL_systhread.h"
Include dependency graph for SDL_systhread.c:Go to the source code of this file.
Functions | |
| static void * | RunThread (void *data) |
| int | SDL_SYS_CreateThread (SDL_Thread *thread) |
| 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) |
Variables | |
| static const int | sig_list [] |
Definition at line 73 of file SDL_systhread.c.
References Android_JNI_SetupThread(), NULL, and SDL_RunThread().
Referenced by SDL_SYS_CreateThread().
| int SDL_SYS_CreateThread | ( | SDL_Thread * | thread | ) |
Definition at line 90 of file SDL_systhread.c.
References SDL_Thread::handle, int(), RunThread(), SDL_SetError, SDL_TRUE, and SDL_Thread::stacksize.
| void SDL_SYS_DetachThread | ( | SDL_Thread * | thread | ) |
Definition at line 305 of file SDL_systhread.c.
References SDL_Thread::handle.
| int SDL_SYS_SetThreadPriority | ( | SDL_ThreadPriority | priority | ) |
Definition at line 199 of file SDL_systhread.c.
References SDL_FALSE, SDL_GetHint, SDL_GetHintBoolean, SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL, SDL_HINT_THREAD_PRIORITY_POLICY, SDL_SetError, SDL_strcmp, SDL_THREAD_PRIORITY_HIGH, SDL_THREAD_PRIORITY_LOW, SDL_THREAD_PRIORITY_NORMAL, and SDL_THREAD_PRIORITY_TIME_CRITICAL.
| void SDL_SYS_SetupThread | ( | const char * | name | ) |
Definition at line 127 of file SDL_systhread.c.
References i, NULL, SDL_assert, SDL_snprintf, and sig_list.
| void SDL_SYS_WaitThread | ( | SDL_Thread * | thread | ) |
Definition at line 299 of file SDL_systhread.c.
References SDL_Thread::handle.
| SDL_threadID SDL_ThreadID | ( | void | ) |
|
static |
Definition at line 66 of file SDL_systhread.c.
Referenced by SDL_SYS_SetupThread().