EPICS Base 7.0.8.0
|
An OS thread. More...
#include <epicsThread.h>
Public Member Functions | |
epicsThread (epicsThreadRunable &, const char *name, unsigned int stackSize, unsigned int priority=epicsThreadPriorityLow) | |
void | start () throw () |
Actually start the thread. | |
void | exitWait () throw () |
Wait for the thread epicsRunnable::run() to return. | |
bool | exitWait (const double delay) throw () |
void | resume () throw () |
cf. epicsThreadResume() | |
void | getName (char *name, size_t size) const throw () |
cf. epicsThreadGetName(); | |
epicsThreadId | getId () const throw () |
cf. epicsThreadGetIdSelf()() | |
unsigned int | getPriority () const throw () |
cf. epicsThreadGetPriority() | |
void | setPriority (unsigned int) throw () |
cf. epicsThreadSetPriority() | |
bool | priorityIsEqual (const epicsThread &) const throw () |
bool | isSuspended () const throw () |
bool | isCurrentThread () const throw () |
bool | operator== (const epicsThread &) const throw () |
void | show (unsigned level) const throw () |
Say something interesting about this thread to stdout. | |
Static Public Member Functions | |
static void | exit () |
static void | suspendSelf () throw () |
static void | sleep (double seconds) throw () |
static const char * | getNameSelf () throw () |
static bool | isOkToBlock () throw () |
static void | setOkToBlock (bool isOkToBlock) throw () |
Friends | |
void | epicsThreadCallEntryPoint (void *) |
A wrapper around the epicsThread* C API.
Definition at line 375 of file epicsThread.h.
epicsThread::epicsThread | ( | epicsThreadRunable & | , |
const char * | name, | ||
unsigned int | stackSize, | ||
unsigned int | priority = epicsThreadPriorityLow |
||
) |
Create a new thread with the provided information.
cf. epicsThreadOpts
epicsThread::unableToCreateThread | on error. |
Wait for the thread epicsRunnable::run() to return.
delay | Wait up to this many seconds. |
A | special exitException which will be caught and ignored. |
bool epicsThread::isCurrentThread | ( | ) | const | |
throw | ( | |||
) |