|
Code::Blocks
SVN r11506
|
#include <backgroundthread.h>
Public Member Functions | |
| BackgroundThread (JobQueue *q, wxSemaphore *s, const bool owns_jobs=true) | |
| BackgroundThread (wxSemaphore *s, const bool owns_jobs=true) | |
| BackgroundThread (JobQueue *q, const bool owns_jobs=true) | |
| BackgroundThread (const bool owns_jobs=true) | |
| ~BackgroundThread () override | |
| void | Queue (AbstractJob *j) |
| void | Die () |
| void | MarkDying () |
| ExitCode | Entry () override |
Public Member Functions inherited from wxThread | |
| wxThread (wxThreadKind kind=wxTHREAD_DETACHED) | |
| virtual | ~wxThread () |
| wxThreadError | Create (unsigned int stackSize=0) |
| wxThreadError | Delete (ExitCode *rc=NULL, wxThreadWait waitMode=wxTHREAD_WAIT_BLOCK) |
| wxThreadIdType | GetId () const |
| wxThreadKind | GetKind () const |
| unsigned int | GetPriority () const |
| bool | IsAlive () const |
| bool | IsDetached () const |
| bool | IsPaused () const |
| bool | IsRunning () const |
| wxThreadError | Kill () |
| wxThreadError | Pause () |
| wxThreadError | Resume () |
| wxThreadError | Run () |
| void | SetPriority (unsigned int priority) |
| virtual bool | TestDestroy () |
| ExitCode | Wait (wxThreadWait flags=wxTHREAD_WAIT_BLOCK) |
Private Attributes | |
| JobQueue * | queue |
| wxSemaphore * | semaphore |
| bool | die |
| const bool | ownsQueue |
| const bool | ownsSemaphore |
| const bool | ownsJobs |
Additional Inherited Members | |
Public Types inherited from wxThread | |
| typedef void * | ExitCode |
Static Public Member Functions inherited from wxThread | |
| static int | GetCPUCount () |
| static wxThreadIdType | GetCurrentId () |
| static wxThreadIdType | GetMainId () |
| static bool | IsMain () |
| static bool | SetConcurrency (size_t level) |
| static void | Sleep (unsigned long milliseconds) |
| static wxThread * | This () |
| static void | Yield () |
Protected Member Functions inherited from wxThread | |
| void | Exit (ExitCode exitcode=0) |
Definition at line 66 of file backgroundthread.h.
|
inline |
Definition at line 76 of file backgroundthread.h.
|
inline |
Definition at line 83 of file backgroundthread.h.
|
inline |
Definition at line 90 of file backgroundthread.h.
|
inline |
Definition at line 97 of file backgroundthread.h.
|
inlineoverride |
Definition at line 104 of file backgroundthread.h.
References Delete().
|
inline |
Definition at line 119 of file backgroundthread.h.
References wxSemaphore::Post(), and wxMilliSleep().
Referenced by Death::operator()().
|
inlineoverridevirtual |
Implements wxThread.
Definition at line 133 of file backgroundthread.h.
References JobQueue::Pop(), and wxSemaphore::Wait().
|
inline |
Definition at line 127 of file backgroundthread.h.
Referenced by Agony::operator()().
|
inline |
Definition at line 113 of file backgroundthread.h.
References wxSemaphore::Post(), and JobQueue::Push().
Referenced by FileManager::Load().
|
private |
Definition at line 70 of file backgroundthread.h.
|
private |
Definition at line 73 of file backgroundthread.h.
|
private |
Definition at line 71 of file backgroundthread.h.
|
private |
Definition at line 72 of file backgroundthread.h.
|
private |
Definition at line 68 of file backgroundthread.h.
|
private |
Definition at line 69 of file backgroundthread.h.
1.8.13