PVData C++
8.0.6
|
Create a new thread using the given. More...
#include <misc/pv/thread.h>
Public Member Functions | |
Config (Runnable *r) | |
Config (void(*fn)(void *), void *ptr) | |
template<typename C > | |
Config (C *inst, void(C::*meth)()) | |
Config & | name (const std::string &n) |
Config & | prio (unsigned int p) |
Config & | stack (epicsThreadStackSizeClass s) |
Config & | autostart (bool a) |
Config & | run (Runnable *r) |
Thread will execute Runnable::run() | |
Config & | run (void(*fn)(void *), void *ptr) |
Thread will execute (*fn)(ptr) | |
template<typename C > | |
Config & | run (C *inst, void(C::*meth)()) |
Thread will execute (inst->*meth)() | |
template<typename T > | |
Config & | operator<< (T x) |
Append to thread name string. Argument must be understood by std::ostream::operator<<. | |
Friends | |
class | Thread |
Create a new thread using the given.
be reused.
Defaults: name: "" priority: epicsThreadPriorityLow (aka epics::pvData::lowestPriority) stack size: epicsThreadStackSmall auto start: true runner: nil (must be set explictly)
std::logic_error | for improper |
runner)