Lines Matching defs:thread
50 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
62 /* Create the thread and go! */
63 thread->handle = pth_spawn(type, RunThread, args);
64 if ( thread->handle == NULL ) {
65 SDL_SetError("Not enough resources to create thread");
77 /* Mask asynchronous signals for this thread */
94 void SDL_SYS_WaitThread(SDL_Thread *thread)
96 pth_join(thread->handle, NULL);
99 void SDL_SYS_KillThread(SDL_Thread *thread)
101 pth_cancel(thread->handle);
102 pth_join(thread->handle, NULL);