PVData C++
8.0.6
|
C++ wrapper for epicsThread from EPICS base. More...
#include <misc/pv/thread.h>
Classes | |
class | Config |
Create a new thread using the given. More... | |
Public Member Functions | |
Thread (std::string name, ThreadPriority priority, Runnable *runnable, epicsThreadStackSizeClass stkcls=epicsThreadStackBig) | |
thread name. | |||||||
| |||||||
static size_t | num_instances | ||||||
Thread (Runnable &runnable, std::string name, unsigned int stksize, unsigned int priority=lowestPriority) | |||||||
Thread (Config &c) | |||||||
~Thread () | |||||||
epics::pvData::Thread::Thread | ( | std::string | name, |
ThreadPriority | priority, | ||
Runnable * | runnable, | ||
epicsThreadStackSizeClass | stkcls = epicsThreadStackBig |
||
) |
Constructor
name | thread name. |
priority | priority is one of: enum ThreadPriority {
lowestPriority, lowerPriority, lowPriority,
middlePriority,
highPriority, higherPriority, highestPriority
};
|
runnable | this is a c function |
stkcls | stack size as specified by epicsThreadStackSizeClass |
epics::pvData::Thread::~Thread | ( | ) |
Destructor