reactos/rosapps/applications/net/roshttpd/include/thread.h
Aleksey Bragin a92216f309 - Delete mc (stoneage old, there is a standalone win32 port now).
- Fit apps better in dir structure.
- Move old_wordpad to templates (Ged said it's a great framework).

svn path=/trunk/; revision=34308
2008-07-05 18:23:03 +00:00

34 lines
599 B
C++

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS HTTP Daemon
* FILE: include/thread.h
*/
#ifndef __THREAD_H
#define __THREAD_H
#include <windows.h>
class CThread;
struct ThreadData {
CThread *ClassPtr;
HANDLE hFinished;
};
class CThread {
public:
CThread();
virtual ~CThread();
BOOL PostMessage(UINT Msg, WPARAM wParam, LPARAM lParam);
virtual void Execute();
virtual void Terminate();
BOOL Terminated();
protected:
BOOL bTerminated;
DWORD dwThreadId;
HANDLE hThread;
ThreadData Data;
};
typedef CThread *LPCThread;
#endif /* __THREAD_H */