CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::OS::WorkerThread Class Reference
Inheritance diagram for NSROOT::OS::WorkerThread:
Collaboration diagram for NSROOT::OS::WorkerThread:

Public Member Functions

 WorkerThread (ThreadPool &pool)
void * process (void)
void finalize (void)
Public Member Functions inherited from NSROOT::OS::Thread
 Thread (const Thread &_thread)
Thread & operator= (const Thread &_thread)
thread_t * native_handle ()
bool start_thread (bool wait=true)
void stop_thread (bool wait=true)
bool wait_thread (unsigned millisec)
bool is_running ()
bool is_stopped ()
void pause (unsigned millisec)
void wake ()

Private Attributes

ThreadPoolm_threadPool

Additional Inherited Members

Protected Attributes inherited from NSROOT::OS::Thread
bool m_finalizeOnStop

Detailed Description

Definition at line 106 of file threadpool.h.

Constructor & Destructor Documentation

◆ WorkerThread()

NSROOT::OS::WorkerThread::WorkerThread ( ThreadPool & pool)
inline

Definition at line 109 of file threadpool.h.

Member Function Documentation

◆ finalize()

void NSROOT::OS::WorkerThread::finalize ( void )
inlinevirtual

Reimplemented from NSROOT::OS::Thread.

Definition at line 138 of file threadpool.h.

◆ process()

void * NSROOT::OS::WorkerThread::process ( void )
inlinevirtual

Implements NSROOT::OS::Thread.

Definition at line 113 of file threadpool.h.

Field Documentation

◆ m_threadPool

ThreadPool& NSROOT::OS::WorkerThread::m_threadPool
private

Definition at line 144 of file threadpool.h.


The documentation for this class was generated from the following file:
  • /home/jlb/src/janbar/PVR/cppmythlib/cppmyth/src/private/os/threads/threadpool.h