Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#include "Thread.h"
//---------------------------------------------------------------------------
// MonitorThread Class
//---------------------------------------------------------------------------
class CMonitorThread : public CThread { public:
CMonitorThread(); virtual ~CMonitorThread();
void Start(); void Stop();
protected:
virtual void Run();
void ProcessMigrationLog(bool bCheckModifyTime = true); void ProcessDispatchLog(bool bInitialize = false, bool bCheckModifyTime = true);
private:
_bstr_t m_strMigrationLog; HANDLE m_hMigrationLog; FILETIME m_ftMigrationLogLastWriteTime;
_bstr_t m_strDispatchLog; HANDLE m_hDispatchLog; FILETIME m_ftDispatchLogLastWriteTime; FILETIME m_ftMonitorBeginTime; bool m_bDontNeedCheckMonitorBeginTime; };
|