Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / tile_edit / thread_win32.h
blobf7acb80f935ed23713be633e860ec2cf748304a6
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 ------------------------------------------------------------------------
19 ClanLib, the platform independent game SDK.
21 This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
22 version 2. See COPYING for details.
24 For a total list of contributers see CREDITS.
26 ------------------------------------------------------------------------
29 #ifndef header_thread_win32
30 #define header_thread_win32
32 #include "thread.h"
33 #include <windows.h>
35 class CL_Thread_Win32 : public CL_Thread
37 public:
38 CL_Thread_Win32(CL_Runnable *runnable);
39 virtual ~CL_Thread_Win32();
41 virtual void start();
42 virtual void terminate();
43 virtual void wait();
45 private:
46 static unsigned long __stdcall func_proxy(void *arg);
48 HANDLE thread_handle;
49 DWORD thread_id;
50 CL_Runnable *runnable;
53 #endif