src/thread/SDL_systhread.h
changeset 5506 82a09d5d0f07
parent 5262 b530ef003506
child 5509 5b1b4d820d10
equal deleted inserted replaced
5505:c4bb4c8ea6fd 5506:82a09d5d0f07
    41 #endif
    41 #endif
    42 
    42 
    43 /* This function does any necessary setup in the child thread */
    43 /* This function does any necessary setup in the child thread */
    44 extern void SDL_SYS_SetupThread(void);
    44 extern void SDL_SYS_SetupThread(void);
    45 
    45 
       
    46 /* This function sets thread priority */
       
    47 extern int SDL_SYS_SetThreadPriority(SDL_Thread * thread, SDL_ThreadPriority priority);
       
    48 
    46 /* This function waits for the thread to finish and frees any data
    49 /* This function waits for the thread to finish and frees any data
    47    allocated by SDL_SYS_CreateThread()
    50    allocated by SDL_SYS_CreateThread()
    48  */
    51  */
    49 extern void SDL_SYS_WaitThread(SDL_Thread * thread);
    52 extern void SDL_SYS_WaitThread(SDL_Thread * thread);
    50 
    53