Home | History | Annotate | Download | only in riscos

Lines Matching refs:thread

31 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
47 void SDL_SYS_WaitThread(SDL_Thread *thread)
52 void SDL_SYS_KillThread(SDL_Thread *thread)
70 Uint32 riscos_main_thread = 0; /* Thread running events */
79 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
83 /* Set the thread attributes */
90 /* Create the thread and go! */
91 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) {
92 SDL_SetError("Not enough resources to create thread");
110 /* Mask asynchronous signals for this thread */
130 void SDL_SYS_WaitThread(SDL_Thread *thread)
132 pthread_join(thread->handle, 0);
135 void SDL_SYS_KillThread(SDL_Thread *thread)
138 pthread_cancel(thread->handle);
140 pthread_kill(thread->handle, SIGKILL);