24 lines
477 B
C++
24 lines
477 B
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef BaseThreadH
|
|
#define BaseThreadH
|
|
//---------------------------------------------------------------------------
|
|
///////////////////////////////
|
|
//
|
|
// Ïß³Ì
|
|
//
|
|
class TBaseThread : public TThread
|
|
{
|
|
protected:
|
|
HANDLE m_hHaltSema;
|
|
bool m_bWaiting;
|
|
|
|
bool __fastcall Halt( DWORD dwMS );
|
|
|
|
public:
|
|
__fastcall TBaseThread();
|
|
__fastcall ~TBaseThread();
|
|
virtual void __fastcall Cancel();
|
|
};
|
|
#endif
|