zenilib
0.5.3.0
|
Go to the source code of this file.
Functions | |
int | SDL_SYS_CreateThread (SDL_Thread *thread, void *args) |
SDL_TLSData * | SDL_SYS_GetTLSData () |
int | SDL_SYS_SetThreadPriority (SDL_ThreadPriority priority) |
int | SDL_SYS_SetTLSData (SDL_TLSData *data) |
void | SDL_SYS_SetupThread (const char *name) |
void | SDL_SYS_WaitThread (SDL_Thread *thread) |
int SDL_SYS_CreateThread | ( | SDL_Thread * | thread, |
void * | args | ||
) |
Definition at line 42 of file SDL_systhread.c.
References SDL_Thread::handle, int, NULL, RunThread(), SDL_SetError(), SDL_TRUE, and ThreadEntry().
Referenced by SDL_CreateThread().
SDL_TLSData* SDL_SYS_GetTLSData | ( | ) |
Definition at line 27 of file SDL_systls.c.
References generic_local_storage, INVALID_PTHREAD_KEY, lock, NULL, SDL_AtomicLock(), SDL_AtomicUnlock(), SDL_Generic_GetTLSData(), SDL_MemoryBarrierAcquire, SDL_MemoryBarrierRelease, SDL_TRUE, and thread_local_storage.
Referenced by SDL_TLSCleanup(), SDL_TLSGet(), and SDL_TLSSet().
int SDL_SYS_SetThreadPriority | ( | SDL_ThreadPriority | priority | ) |
Definition at line 54 of file SDL_systhread.c.
References SDL_SetError(), SDL_THREAD_PRIORITY_HIGH, SDL_THREAD_PRIORITY_LOW, and thread.
Referenced by SDL_SetThreadPriority().
int SDL_SYS_SetTLSData | ( | SDL_TLSData * | data | ) |
Definition at line 33 of file SDL_systls.c.
References generic_local_storage, SDL_Generic_SetTLSData(), SDL_SetError(), and thread_local_storage.
Referenced by SDL_TLSCleanup(), and SDL_TLSSet().
Definition at line 42 of file SDL_systhread.c.
References i, NULL, SDL_assert, and sig_list.
Referenced by SDL_RunThread().
void SDL_SYS_WaitThread | ( | SDL_Thread * | thread | ) |
Definition at line 60 of file SDL_systhread.c.
References SDL_Thread::handle, and NULL.
Referenced by SDL_WaitThread().