CPPSERV


Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

container::CThreadPool::CThreadPool::Thread Class Reference

#include <cthreadpool.h>

Inheritance diagram for container::CThreadPool::CThreadPool::Thread:
Collaboration diagram for container::CThreadPool::CThreadPool::Thread:

List of all members.


Public Member Functions

 Thread (CThreadPool *p)

Protected Member Functions

virtual void threadFunction ()
virtual void onThreadExit ()

Private Attributes

CThreadPoolm_pool

Detailed Description

Definition at line 38 of file cthreadpool.h.


Constructor & Destructor Documentation

container::CThreadPool::CThreadPool::Thread::Thread ( CThreadPool p  )  [inline]

Definition at line 45 of file cthreadpool.h.


Member Function Documentation

void container::CThreadPool::CThreadPool::Thread::onThreadExit (  )  [protected, virtual]

Definition at line 151 of file cthreadpool.cpp.

References container::CThreadPool::CThreadPool::Thread::m_pool, and container::CThreadPool::threadDone().

Here is the call graph for this function:

void container::CThreadPool::CThreadPool::Thread::threadFunction (  )  [protected, virtual]

Runs tasks from queue. If queue returns an empty task, exits

Definition at line 86 of file cthreadpool.cpp.

References container::CThreadPool::getTask(), container::CThreadPool::CThreadPool::Thread::m_pool, container::CThreadPool::m_running, and container::CThreadPool::CThreadPool::Task::run().

Here is the call graph for this function:


Member Data Documentation

CThreadPool* container::CThreadPool::CThreadPool::Thread::m_pool [private]


The documentation for this class was generated from the following files:

SourceForge.net Logo