Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Private Attributes

cbWorkerThread Class Reference

#include <cbthreadpool_extras.h>

Collaboration diagram for cbWorkerThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Abort ()
 Tell the thread to abort. It will also tell the task to abort (if any)
bool Aborted () const
void AbortTask ()
 Aborts the running task (if any)
 cbWorkerThread (cbThreadPool *pool, CountedPtr< wxSemaphore > &semaphore)
ExitCode Entry ()
 Entry point of this thread. The magic happens here.

Private Attributes

bool m_abort
cbThreadPoolm_pPool
cbThreadedTaskm_pTask
CountedPtr< wxSemaphore > m_semaphore
wxMutex m_taskMutex

Detailed Description

A Worker Thread class.

These are the ones that execute the tasks. You shouldn't worry about it since it's for "private" purposes of the Pool.

Definition at line 34 of file cbthreadpool_extras.h.


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

Generated by  Doxygen 1.6.0   Back to index