Definition at line 304 of file StdPNG.cpp.
◆ CPNGSaveThread()
CPNGSaveThread::CPNGSaveThread |
( |
CPNGFile * |
png, |
|
|
const char * |
filename |
|
) |
| |
Definition at line 326 of file StdPNG.cpp.
326 : png(png), filename(filename)
330 threads.push_back(
this);
◆ ~CPNGSaveThread()
CPNGSaveThread::~CPNGSaveThread |
( |
| ) |
|
|
override |
Definition at line 333 of file StdPNG.cpp.
337 threads.remove(
this);
◆ Execute()
void CPNGSaveThread::Execute |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ HasPendingThreads()
bool CPNGSaveThread::HasPendingThreads |
( |
| ) |
|
|
static |
◆ IsSelfDestruct()
bool CPNGSaveThread::IsSelfDestruct |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ IsStarted()
bool StdThread::IsStarted |
( |
| ) |
|
|
inlineinherited |
◆ IsStopSignaled()
bool StdThread::IsStopSignaled |
( |
| ) |
|
|
protectedinherited |
◆ SignalStop()
void StdThread::SignalStop |
( |
| ) |
|
|
inherited |
◆ Start()
bool StdThread::Start |
( |
| ) |
|
|
inherited |
◆ 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 StdThread::Start(), and StdThread::~StdThread().
The documentation for this class was generated from the following file: