include/SDL_thread.h
changeset 5509 5b1b4d820d10
parent 5506 82a09d5d0f07
child 5535 96594ac5fd1a
equal deleted inserted replaced
5508:60b63c32f06d 5509:5b1b4d820d10
   155  *  Equivalent to SDL_ThreadID() if the specified thread is NULL.
   155  *  Equivalent to SDL_ThreadID() if the specified thread is NULL.
   156  */
   156  */
   157 extern DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread * thread);
   157 extern DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread * thread);
   158 
   158 
   159 /**
   159 /**
   160  *  Set the thread priority
   160  *  Set the priority for the current thread
   161  */
   161  */
   162 extern DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_Thread * thread, SDL_ThreadPriority priority);
   162 extern DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_ThreadPriority priority);
   163 
   163 
   164 /**
   164 /**
   165  *  Wait for a thread to finish.
   165  *  Wait for a thread to finish.
   166  *  
   166  *  
   167  *  The return code for the thread function is placed in the area
   167  *  The return code for the thread function is placed in the area