comparison src/thread/SDL_systhread.h @ 1190:173c063d4f55

OS/2 port! This was mostly, if not entirely, written by "Doodle" and "Caetano": doodle@scenergy.dfmk.hu daniel@caetano.eng.br --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 23 Nov 2005 07:29:56 +0000
parents b8d311d90021
children c9b51268668f
comparison
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