src/thread/SDL_systhread.h
changeset 1190 173c063d4f55
parent 769 b8d311d90021
child 1312 c9b51268668f
equal deleted inserted replaced
1189:c96b326b90ba 1190:173c063d4f55
    31 
    31 
    32 /* This function creates a thread, passing args to SDL_RunThread(),
    32 /* This function creates a thread, passing args to SDL_RunThread(),
    33    saves a system-dependent thread id in thread->id, and returns 0
    33    saves a system-dependent thread id in thread->id, and returns 0
    34    on success.
    34    on success.
    35 */
    35 */
       
    36 #ifdef __OS2__
       
    37 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
       
    38 #else
    36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
    39 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
       
    40 #endif
    37 
    41 
    38 /* This function does any necessary setup in the child thread */
    42 /* This function does any necessary setup in the child thread */
    39 extern void SDL_SYS_SetupThread(void);
    43 extern void SDL_SYS_SetupThread(void);
    40 
    44 
    41 /* This function waits for the thread to finish and frees any data
    45 /* This function waits for the thread to finish and frees any data