comparison src/thread/generic/SDL_systhread.c @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 4da1ee79c9af
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
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: */