equal
deleted
inserted
replaced
20 slouken@libsdl.org |
20 slouken@libsdl.org |
21 */ |
21 */ |
22 |
22 |
23 /* These are functions that need to be implemented by a port of SDL */ |
23 /* These are functions that need to be implemented by a port of SDL */ |
24 |
24 |
25 #include "SDL_thread_c.h" |
25 #ifndef _SDL_systhread_h |
|
26 #define _SDL_systhread_h |
|
27 |
|
28 #include "SDL_thread.h" |
26 |
29 |
27 /* This function creates a thread, passing args to SDL_RunThread(), |
30 /* This function creates a thread, passing args to SDL_RunThread(), |
28 saves a system-dependent thread id in thread->id, and returns 0 |
31 saves a system-dependent thread id in thread->id, and returns 0 |
29 on success. |
32 on success. |
30 */ |
33 */ |
43 extern void SDL_SYS_WaitThread(SDL_Thread *thread); |
46 extern void SDL_SYS_WaitThread(SDL_Thread *thread); |
44 |
47 |
45 /* This function kills the thread and returns */ |
48 /* This function kills the thread and returns */ |
46 extern void SDL_SYS_KillThread(SDL_Thread *thread); |
49 extern void SDL_SYS_KillThread(SDL_Thread *thread); |
47 |
50 |
|
51 #endif /* _SDL_systhread_h */ |