Mercurial > sdl-ios-xcode
comparison src/thread/SDL_thread_c.h @ 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 |
---|---|
50 #include "generic/SDL_systhread_c.h" | 50 #include "generic/SDL_systhread_c.h" |
51 #endif | 51 #endif |
52 #include "../SDL_error_c.h" | 52 #include "../SDL_error_c.h" |
53 | 53 |
54 /* This is the system-independent thread info structure */ | 54 /* This is the system-independent thread info structure */ |
55 struct SDL_Thread { | 55 struct SDL_Thread |
56 Uint32 threadid; | 56 { |
57 SYS_ThreadHandle handle; | 57 Uint32 threadid; |
58 int status; | 58 SYS_ThreadHandle handle; |
59 SDL_error errbuf; | 59 int status; |
60 void *data; | 60 SDL_error errbuf; |
61 void *data; | |
61 }; | 62 }; |
62 | 63 |
63 /* This is the function called to run a thread */ | 64 /* This is the function called to run a thread */ |
64 extern void SDL_RunThread(void *data); | 65 extern void SDL_RunThread (void *data); |
65 | 66 |
66 #endif /* _SDL_thread_c_h */ | 67 #endif /* _SDL_thread_c_h */ |
68 /* vi: set ts=4 sw=4 expandtab: */ |