ReactOS 0.4.16-dev-336-gb667d82
thread.cpp File Reference
#include <debug.h>
#include <assert.h>
#include <windows.h>
#include <thread.h>
Include dependency graph for thread.cpp:

Go to the source code of this file.

Functions

DWORD WINAPI ThreadEntry (LPVOID parameter)
 

Function Documentation

◆ ThreadEntry()

DWORD WINAPI ThreadEntry ( LPVOID  parameter)

Definition at line 16 of file thread.cpp.

17{
18 ThreadData *p = (ThreadData*) parameter;
19
20 p->ClassPtr->Execute();
21
22 SetEvent(p->hFinished);
23 return 0;
24}
virtual void Execute()
Definition: thread.cpp:59
GLfloat GLfloat p
Definition: glext.h:8902
CThread * ClassPtr
Definition: thread.h:14
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
Definition: synch.c:733

Referenced by CThread::CThread(), and find_thread().