Go to the documentation of this file.
53 SDL_Log(
"Started thread %s: My thread id is %lu, thread data = %s\n",
73 SDL_Log(
"Killed with SIGTERM, waiting 5 seconds to exit\n");
80 main(
int argc,
char *argv[])
94 while (argv[arg] && *argv[arg] ==
'-') {
108 if (thread ==
NULL) {
113 SDL_Log(
"Waiting for thread #1\n");
122 if (thread ==
NULL) {
#define SDL_SetThreadPriority
@ SDL_LOG_CATEGORY_APPLICATION
static void killed(int sig)
@ SDL_THREAD_PRIORITY_TIME_CRITICAL
@ SDL_THREAD_PRIORITY_HIGH
@ SDL_THREAD_PRIORITY_LOW
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
int main(int argc, char *argv[])
#define SDL_assert(condition)
#define SDL_LogSetPriority
@ SDL_THREAD_PRIORITY_NORMAL
int ThreadFunc(void *data)
static const char * getprioritystr(SDL_ThreadPriority priority)