src/thread/SDL_systhread.h
changeset 1471 9fb0eee04dd9
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1470:d47d96962fcc 1471:9fb0eee04dd9
    30 
    30 
    31 /* This function creates a thread, passing args to SDL_RunThread(),
    31 /* This function creates a thread, passing args to SDL_RunThread(),
    32    saves a system-dependent thread id in thread->id, and returns 0
    32    saves a system-dependent thread id in thread->id, and returns 0
    33    on success.
    33    on success.
    34 */
    34 */
    35 #if defined(__WIN32__) || defined(__OS2__)
    35 #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
    36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
    36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
    37 #else
    37 #else
    38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
    38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
    39 #endif
    39 #endif
    40 
    40