#include <Thread.H>
For the threading of a single method.
- Examples:
- ThreadTest.C.
Definition at line 239 of file Thread.H.
◆ run()
virtual int ThreadedMethod::run |
( |
int |
priority = 0 | ) |
|
|
inlinevirtual |
Start the threadMain in a new thread.
- Parameters
-
prioirity | Set the priority for the thread e.g. sched_get_priority_max(SCHED_FIFO) |
- Returns
- NO_ERROR on success, or a suitable error on failure : THREAD_CREATE_ERROR
- Examples:
- IIOQueueTest.C.
Definition at line 263 of file Thread.H.
◆ threadMain()
virtual void* ThreadedMethod::threadMain |
( |
void |
| ) |
|
|
pure virtual |
◆ threadMainStatic()
static void* ThreadedMethod::threadMainStatic |
( |
void * |
data | ) |
|
|
inlinestaticprivate |
The static method which is called to begin the thread.
Definition at line 249 of file Thread.H.
The documentation for this class was generated from the following file: