Jack2 1.9.6
|
The thread base class. More...
#include <JackThread.h>
Public Types | |
enum | kThreadState { kIdle, kStarting, kIniting, kRunning } |
Public Member Functions | |
JackThreadInterface (JackRunnableInterface *runnable, int priority, bool real_time, int cancellation) | |
kThreadState | GetStatus () |
void | SetStatus (kThreadState status) |
void | SetParams (UInt64 period, UInt64 computation, UInt64 constraint) |
int | Start () |
int | StartSync () |
int | Kill () |
int | Stop () |
void | Terminate () |
int | AcquireRealTime () |
int | AcquireSelfRealTime () |
int | AcquireRealTime (int priority) |
int | AcquireSelfRealTime (int priority) |
int | DropRealTime () |
int | DropSelfRealTime () |
pthread_t | GetThreadID () |
Static Public Member Functions | |
static int | AcquireRealTimeImp (pthread_t thread, int priority) |
static int | AcquireRealTimeImp (pthread_t thread, int priority, UInt64 period, UInt64 computation, UInt64 constraint) |
static int | DropRealTimeImp (pthread_t thread) |
static int | StartImp (pthread_t *thread, int priority, int realtime, void *(*start_routine)(void *), void *arg) |
static int | StopImp (pthread_t thread) |
static int | KillImp (pthread_t thread) |
Protected Attributes | |
JackRunnableInterface * | fRunnable |
int | fPriority |
bool | fRealTime |
volatile kThreadState | fStatus |
int | fCancellation |
The thread base class.
Definition at line 60 of file JackThread.h.