Home | History | Annotate | Download | only in test

Lines Matching defs:thread

35     /* Set the child thread error string */
36 SDL_SetError("Thread %s (%lu) had a problem: %s",
39 SDL_Log("Thread '%s' is alive!\n", (char *) data);
42 SDL_Log("Child thread error string: %s\n", SDL_GetError());
49 SDL_Thread *thread;
60 /* Set the error value for the main thread */
64 thread = SDL_CreateThread(ThreadFunc, NULL, "#1");
65 if (thread == NULL) {
66 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create thread: %s\n", SDL_GetError());
70 SDL_Log("Waiting for thread #1\n");
72 SDL_WaitThread(thread, NULL);
74 SDL_Log("Main thread error string: %s\n", SDL_GetError());