Mercurial > sdl-ios-xcode
comparison src/thread/SDL_systhread.h @ 1361:19418e4422cb
New configure-based build system. Still work in progress, but much improved
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 16 Feb 2006 10:11:48 +0000 |
parents | 450721ad5436 |
children | d910939febfa |
comparison
equal
deleted
inserted
replaced
1360:70a9cfb4cf1b | 1361:19418e4422cb |
---|---|
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 */ |