foobar2000 SDK
2015-08-03
|
#include <fb2k_threads.h>
Public Member Functions | |
bool | IsThreadActive () const |
void | StartThread (int priority) |
void | StartThread () |
void | WaitTillThreadDone () |
Protected Member Functions | |
CVerySimpleThread () | |
virtual void | ThreadProc ()=0 |
Private Member Functions | |
void | threadProc () |
Private Member Functions inherited from pfc::thread | |
thread () | |
~thread () | |
int | getPriority () |
bool | isActive () const |
PFC_DECLARE_EXCEPTION (exception_creation, exception,"Could not create thread") | |
pthread_t | posixThreadHandle () |
void | setPriority (int priority) |
void | start () |
void | startWithPriority (int priority) |
void | waitTillDone () |
void | winStart (int priority, DWORD *outThreadID) |
HANDLE | winThreadHandle () |
Additional Inherited Members | |
Static Private Member Functions inherited from pfc::thread | |
static int | currentPriority () |
IMPORTANT: all classes derived from CVerySimpleThread must call WaitTillThreadDone() in their destructor, to avoid object destruction during a virtual function call!
Definition at line 6 of file fb2k_threads.h.
|
inlineprotected |
Definition at line 22 of file fb2k_threads.h.
|
inline |
Definition at line 15 of file fb2k_threads.h.
|
inline |
Definition at line 8 of file fb2k_threads.h.
|
inline |
Definition at line 11 of file fb2k_threads.h.
|
protectedpure virtual |
Implemented in ThreadUtils::CSingleThreadWrapper< TBase, processMsgs >.
|
inlineprivatevirtual |
Reimplemented from pfc::thread.
Definition at line 26 of file fb2k_threads.h.
|
inline |
Definition at line 18 of file fb2k_threads.h.