Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

thread_win32.h

Go to the documentation of this file.
00001 /*
00002         $Id: thread_win32.h,v 1.1.1.1 2000/04/09 12:18:02 mbn Exp $
00003 
00004         ------------------------------------------------------------------------
00005         ClanLib, the platform independent game SDK.
00006 
00007         This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00008         version 2. See COPYING for details.
00009 
00010         For a total list of contributers see CREDITS.
00011 
00012         ------------------------------------------------------------------------
00013 */
00014 
00015 #ifndef header_thread_win32
00016 #define header_thread_win32
00017 
00018 #include "API/Core/System/thread.h"
00019 #include <windows.h>
00020 
00021 class CL_Thread_Win32 : public CL_Thread
00022 {
00023 public:
00024         CL_Thread_Win32(CL_Runnable *runnable);
00025         virtual ~CL_Thread_Win32();
00026         
00027         virtual void start();
00028         virtual void terminate();
00029         virtual void wait();
00030 
00031 private:
00032         static unsigned long __stdcall func_proxy(void *arg);
00033 
00034         HANDLE thread_handle;
00035         DWORD thread_id;
00036         CL_Runnable *runnable;
00037 };
00038 
00039 #endif
00040 

Generated at Wed Apr 4 19:54:04 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001