Mercurial > sdl-ios-xcode
comparison src/thread/generic/SDL_systhread.c @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | d910939febfa |
children | 4436464c4f51 |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
24 /* Thread management routines for SDL */ | 24 /* Thread management routines for SDL */ |
25 | 25 |
26 #include "SDL_thread.h" | 26 #include "SDL_thread.h" |
27 #include "../SDL_systhread.h" | 27 #include "../SDL_systhread.h" |
28 | 28 |
29 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) | 29 int |
30 SDL_SYS_CreateThread(SDL_Thread * thread, void *args) | |
30 { | 31 { |
31 SDL_SetError("Threads are not supported on this platform"); | 32 SDL_SetError("Threads are not supported on this platform"); |
32 return(-1); | 33 return (-1); |
33 } | 34 } |
34 | 35 |
35 void SDL_SYS_SetupThread(void) | 36 void |
37 SDL_SYS_SetupThread(void) | |
36 { | 38 { |
37 return; | 39 return; |
38 } | 40 } |
39 | 41 |
40 Uint32 SDL_ThreadID(void) | 42 Uint32 |
43 SDL_ThreadID(void) | |
41 { | 44 { |
42 return(0); | 45 return (0); |
43 } | 46 } |
44 | 47 |
45 void SDL_SYS_WaitThread(SDL_Thread *thread) | 48 void |
49 SDL_SYS_WaitThread(SDL_Thread * thread) | |
46 { | 50 { |
47 return; | 51 return; |
48 } | 52 } |
49 | 53 |
50 void SDL_SYS_KillThread(SDL_Thread *thread) | 54 void |
55 SDL_SYS_KillThread(SDL_Thread * thread) | |
51 { | 56 { |
52 return; | 57 return; |
53 } | 58 } |
54 | 59 |
60 /* vi: set ts=4 sw=4 expandtab: */ |