DISTRHO Plugin Framework
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Thread Class Referenceabstract

Public Member Functions

bool isThreadRunning () const noexcept
 
bool shouldThreadExit () const noexcept
 
bool startThread (const bool withRealtimePriority=false) noexcept
 
bool stopThread (const int timeOutMilliseconds) noexcept
 
void signalThreadShouldExit () noexcept
 
const StringgetThreadName () const noexcept
 
pthread_t getThreadId () const noexcept
 

Static Public Member Functions

static void setCurrentThreadName (const char *const name) noexcept
 

Protected Member Functions

 Thread (const char *const threadName=nullptr) noexcept
 
virtual void run ()=0
 

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