An OS thread.
More...
#include <epicsThread.h>
|
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 () |
|
|
void | epicsThreadCallEntryPoint (void *) |
|
A wrapper around the epicsThread* C API.
- Note
- Threads must be start() ed.
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
- Note
- Threads must be start() ed.
- Exceptions
-
epicsThread::unableToCreateThread | on error. |
bool epicsThread::exitWait |
( |
const double |
delay | ) |
|
throw | ( | |
| ) | | |
Wait for the thread epicsRunnable::run() to return.
- Parameters
-
delay | Wait up to this many seconds. |
- Returns
- true if run() returned. false on timeout.
static void epicsThread::exit |
( |
| ) |
|
|
static |
- Exceptions
-
A | special exitException which will be caught and ignored. |
- Note
- This exitException doesn't not derive from std::exception
bool epicsThread::isCurrentThread |
( |
| ) |
const |
throw | ( | |
| ) | | |
- Returns
- true if call through this thread's epicsRunnable::run()
The documentation for this class was generated from the following file: