Jack::detail::JackThreadInterface Class Reference

The thread base class. More...

#include <JackThread.h>

Inheritance diagram for Jack::detail::JackThreadInterface:

Jack::JackPosixThread Jack::JackWinThread Jack::JackMachThread

List of all members.

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 AcquireRealTime (int priority)
int DropRealTime ()
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

JackRunnableInterfacefRunnable
int fPriority
bool fRealTime
volatile kThreadState fStatus
int fCancellation


Detailed Description

The thread base class.

Definition at line 60 of file JackThread.h.


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

Generated on Mon Mar 23 2009 for Jack2 by  doxygen 1.5.8