Mercurial > sdl-ios-xcode
comparison src/thread/nds/SDL_systhread.c @ 2671:c3e7c0698cbb gsoc2008_nds
some changes to the dummy driver for debug purposes that should be reverted.
most importantly, commenting out a check for an env. var.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Thu, 12 Jun 2008 02:38:49 +0000 |
parents | 6e4669f4db49 |
children |
comparison
equal
deleted
inserted
replaced
2670:6e4669f4db49 | 2671:c3e7c0698cbb |
---|---|
20 slouken@devolution.com | 20 slouken@devolution.com |
21 */ | 21 */ |
22 | 22 |
23 #ifdef SAVE_RCSID | 23 #ifdef SAVE_RCSID |
24 static char rcsid = | 24 static char rcsid = |
25 "@(#) $Id: SDL_systhread.c,v 1.2 2001/04/26 16:50:18 hercules Exp $"; | 25 "@(#) $Id: SDL_systhread.c,v 1.2 2001/04/26 16:50:18 hercules Exp $"; |
26 #endif | 26 #endif |
27 | 27 |
28 /* Thread management routines for SDL */ | 28 /* Thread management routines for SDL */ |
29 | 29 |
30 #include "SDL_error.h" | 30 #include "SDL_error.h" |
31 #include "SDL_thread.h" | 31 #include "SDL_thread.h" |
32 #include "SDL_systhread.h" | 32 #include "SDL_systhread.h" |
33 | 33 |
34 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) | 34 int |
35 SDL_SYS_CreateThread(SDL_Thread * thread, void *args) | |
35 { | 36 { |
36 SDL_SetError("Threads are not supported on this platform"); | 37 SDL_SetError("Threads are not supported on this platform"); |
37 return(-1); | 38 return (-1); |
38 } | 39 } |
39 | 40 |
40 void SDL_SYS_SetupThread(void) | 41 void |
42 SDL_SYS_SetupThread(void) | |
41 { | 43 { |
42 return; | 44 return; |
43 } | 45 } |
44 | 46 |
45 Uint32 SDL_ThreadID(void) | 47 Uint32 |
48 SDL_ThreadID(void) | |
46 { | 49 { |
47 return(0); | 50 return (0); |
48 } | 51 } |
49 | 52 |
50 void SDL_SYS_WaitThread(SDL_Thread *thread) | 53 void |
54 SDL_SYS_WaitThread(SDL_Thread * thread) | |
51 { | 55 { |
52 return; | 56 return; |
53 } | 57 } |
54 | 58 |
55 void SDL_SYS_KillThread(SDL_Thread *thread) | 59 void |
60 SDL_SYS_KillThread(SDL_Thread * thread) | |
56 { | 61 { |
57 return; | 62 return; |
58 } | 63 } |
59 |