#include <StdScheduler.h>
Definition at line 312 of file StdScheduler.h.
◆ StdThread()
◆ ~StdThread()
virtual StdThread::~StdThread |
( |
| ) |
|
|
inlinevirtual |
◆ Execute()
virtual void StdThread::Execute |
( |
| ) |
|
|
protectedpure virtual |
◆ IsSelfDestruct()
virtual bool StdThread::IsSelfDestruct |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ IsStarted()
bool StdThread::IsStarted |
( |
| ) |
|
|
inline |
◆ IsStopSignaled()
bool StdThread::IsStopSignaled |
( |
| ) |
|
|
protected |
◆ SignalStop()
void StdThread::SignalStop |
( |
| ) |
|
◆ Start()
bool StdThread::Start |
( |
| ) |
|
◆ Stop()
Definition at line 306 of file StdScheduler.cpp.
309 if (!fStarted)
return;
311 fStopSignaled =
true;
312 #ifdef HAVE_WINTHREAD
314 HANDLE hThread =
reinterpret_cast<HANDLE
>(iThread);
315 if (WaitForSingleObject(hThread, 10000) == WAIT_TIMEOUT)
317 TerminateThread(hThread, -1);
318 #elif defined(HAVE_PTHREAD)
321 pthread_join(Thread,
nullptr);
Referenced by Start(), and ~StdThread().
The documentation for this class was generated from the following files: