Last change
on this file since 7329 was
7329,
checked in by bensch, 18 years ago
|
orxonox/trunk: windows compatibility (not finished) also added a threading Class to wrap around SDL_thread (for simple oo-tasks)
|
File size:
419 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file threading.h |
---|
3 | * @brief Definition of Thread Classes. |
---|
4 | * |
---|
5 | * These are mainly Classes, that are used for wrapping around SDL_thread |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef _THREADING_H |
---|
9 | #define _THREADING_H |
---|
10 | |
---|
11 | #ifdef HAVE_SDL_H |
---|
12 | #include <SDL_thread.h> |
---|
13 | #else |
---|
14 | #include <SDL/SDL_thread.h> |
---|
15 | #endif |
---|
16 | |
---|
17 | |
---|
18 | //! A class for Wrapping Threads |
---|
19 | class Threading { |
---|
20 | |
---|
21 | public: |
---|
22 | Threading(); |
---|
23 | virtual ~Threading(); |
---|
24 | |
---|
25 | |
---|
26 | private: |
---|
27 | |
---|
28 | }; |
---|
29 | |
---|
30 | #endif /* _THREADING_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.