CThread is thread class interface.
More...
#include <Imt.Base.OS.Win32/Thread.h>
|
static DWORD WINAPI | threadFunc (LPVOID param) |
| Static thread function which calls subclass' overridden MainThreadFunc. More...
|
|
CThread is thread class interface.
◆ Thread()
imt::base::os::win32::Thread::Thread |
( |
| ) |
|
|
explicit |
◆ ~Thread()
virtual imt::base::os::win32::Thread::~Thread |
( |
| ) |
|
|
virtual |
◆ getThreadHandle()
HANDLE imt::base::os::win32::Thread::getThreadHandle |
( |
| ) |
|
Get thread running status.
- Returns
- True, if running.
◆ isRunning()
bool imt::base::os::win32::Thread::isRunning |
( |
| ) |
|
Get thread running status.
- Returns
- True, if running.
◆ mainThreadFunc()
virtual DWORD imt::base::os::win32::Thread::mainThreadFunc |
( |
| ) |
|
|
protectedvirtual |
Main thread to execute.
- Returns
- 0 if no error.
◆ startThread()
void imt::base::os::win32::Thread::startThread |
( |
| ) |
|
◆ threadFunc()
static DWORD WINAPI imt::base::os::win32::Thread::threadFunc |
( |
LPVOID |
param | ) |
|
|
static |
Static thread function which calls subclass' overridden MainThreadFunc.
- Parameters
-
param | Pointer to the thread object. |
- Returns
- 0 if no error.
◆ waitForExit()
void imt::base::os::win32::Thread::waitForExit |
( |
| ) |
|
The documentation for this class was generated from the following file:
- D:/_Work/10/s/Imt.Base/Imt.Base.OS.Win32/Thread.h