|
SDL
2.0
|
Include dependency graph for torturethread.c:Go to the source code of this file.
Macros | |
| #define | NUMTHREADS 10 |
Functions | |
| static void | quit (int rc) |
| int | SubThreadFunc (void *data) |
| int | ThreadFunc (void *data) |
| int | main (int argc, char *argv[]) |
Variables | |
| static SDL_atomic_t | time_for_threads_to_die [NUMTHREADS] |
| #define NUMTHREADS 10 |
Definition at line 22 of file torturethread.c.
Referenced by main(), and ThreadFunc().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 77 of file torturethread.c.
References i, NULL, NUMTHREADS, quit(), SDL_AtomicSet, SDL_CreateThread, SDL_GetError, SDL_Init, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_Quit, SDL_snprintf, SDL_WaitThread, ThreadFunc(), and threads.
|
static |
Definition at line 28 of file torturethread.c.
References SDL_Quit, and SDLCALL.
Referenced by main().
| int SubThreadFunc | ( | void * | data | ) |
Definition at line 35 of file torturethread.c.
References SDLCALL.
Referenced by ThreadFunc().
| int ThreadFunc | ( | void * | data | ) |
Definition at line 44 of file torturethread.c.
References i, NULL, NUMTHREADS, SDL_AtomicGet, SDL_CreateThread, SDL_Log, SDL_snprintf, SDL_WaitThread, and SubThreadFunc().
Referenced by main().
|
static |
Definition at line 24 of file torturethread.c.