#include <Thread.hpp>
Public Member Functions | |
virtual unsigned | getCpuAffinity () const |
virtual unsigned | getCpuAffinity () const |
virtual int | getMaxOverrun () const |
virtual int | getMaxOverrun () const |
virtual const char * | getName () const |
virtual const char * | getName () const |
virtual Seconds | getPeriod () const |
void | getPeriod (secs &s, nsecs &ns) const |
virtual Seconds | getPeriod () const |
void | getPeriod (secs &s, nsecs &ns) const |
virtual nsecs | getPeriodNS () const |
virtual nsecs | getPeriodNS () const |
virtual int | getPriority () const |
virtual int | getPriority () const |
virtual int | getScheduler () const |
virtual int | getScheduler () const |
virtual const RTOS_TASK * | getTask () const |
virtual RTOS_TASK * | getTask () |
virtual const RTOS_TASK * | getTask () const |
virtual RTOS_TASK * | getTask () |
virtual bool | isActive () const |
virtual bool | isActive () const |
virtual bool | isPeriodic () const |
virtual bool | isPeriodic () const |
virtual bool | isRunning () const |
virtual bool | isRunning () const |
virtual bool | setCpuAffinity (unsigned cpu_affinity) |
virtual bool | setCpuAffinity (unsigned cpu_affinity) |
virtual void | setMaxOverrun (int m) |
virtual void | setMaxOverrun (int m) |
bool | setPeriod (TIME_SPEC p) |
bool | setPeriod (secs s, nsecs ns) |
bool | setPeriod (Seconds s) |
bool | setPeriod (TIME_SPEC p) |
bool | setPeriod (secs s, nsecs ns) |
bool | setPeriod (Seconds s) |
virtual bool | setPriority (int priority) |
virtual bool | setPriority (int priority) |
virtual bool | setScheduler (int sched_type) |
virtual bool | setScheduler (int sched_type) |
virtual void | setWaitPeriodPolicy (int p) |
virtual void | setWaitPeriodPolicy (int p) |
virtual bool | start () |
virtual bool | start () |
virtual bool | stop () |
virtual bool | stop () |
Thread (int scheduler, int priority, double period, unsigned cpu_affinity, const std::string &name) | |
Thread (int scheduler, int priority, double period, unsigned cpu_affinity, const std::string &name) | |
virtual void | yield () |
virtual void | yield () |
virtual | ~Thread () |
virtual | ~Thread () |
Static Public Member Functions | |
static void | setStackSize (unsigned int ssize) |
static void | setStackSize (unsigned int ssize) |
Protected Member Functions | |
virtual bool | breakLoop () |
virtual bool | breakLoop () |
void | emergencyStop () |
void | emergencyStop () |
virtual void | finalize () |
virtual void | finalize () |
virtual bool | initialize () |
virtual bool | initialize () |
virtual void | loop () |
virtual void | loop () |
virtual void | step () |
virtual void | step () |
void | terminate () |
void | terminate () |
Private Member Functions | |
void | configure () |
void | configure () |
void | setup (int _priority, unsigned cpu_affinity, const std::string &name) |
void | setup (int _priority, unsigned cpu_affinity, const std::string &name) |
Thread (const Thread &) | |
Thread (const Thread &) | |
Private Attributes | |
bool | active |
MutexRecursive | breaker |
bool | inloop |
int | maxOverRun |
int | msched_type |
NANO_TIME | period |
bool | prepareForExit |
RTOS_TASK | rtos_task |
bool | running |
rt_sem_t | sem |
Static Private Attributes | |
static unsigned int | default_stack_size = 0 |
Friends | |
void * | thread_function (void *t) |
void * | thread_function (void *t) |
A Thread object executes user code in its own thread.
If the underlying OS supports it, both period and priority can be changed after creation. When the period is 0, the loop() function is executed, when the period is greater than 0, the step() function is executed. Note: if the user does not implement loop(), it will call step() by default.
The main functions to implement are initialize(), step()/loop() and finalize(). initialize() is called when start() is called, and before the first step()/loop() and finalize() is called when stop() is called after the last step()/loop() returns.
When a period is set, step() is executed from the moment start() is called, and afterwards according to it's period. When stop() is called, it waits for the step() function to return and then stops the periodic execution.
Step() overruns are detected and the threshold to 'emergency stop' the thread can be set by setMaxOverrun(). Overruns must be accumulated 'on average' to trigger this behavior: one not overrunning step() compensates for one overrunning step().
The first invocation of start() invokes the initialize() function and runs the loop() method in the thread. When loop() returns the thread waits for another start() to execute loop() again. In that case, initialize() is not executed.
When stop() is called and the thread is still executing loop() and breakLoop() returns true (not the default), the stop() function succeeds and the finalize() method is called by stop(). If the thread was not executing loop(), stop will always call finalize() and return success.
The user must provide an implementation of breakLoop() returning true to make stop() work while loop() is being executed. stop() will fail and not execute finalize() if the thread executes loop() and breakLoop() is not reimplemented to return true.
These four parameters are the parameters that users wish to set for every thread created. All but stack size can be modified after creation, and if the OS permits it, modified even when the thread is using user code. All these parameters are passed to the underlying OS unmodified. In case an incorrect combination is made, the change may be rejected or adjusted to a close or safe value.
Definition at line 109 of file install/include/rtt/os/Thread.hpp.
RTT::os::Thread::Thread | ( | int | scheduler, | |
int | priority, | |||
double | period, | |||
unsigned | cpu_affinity, | |||
const std::string & | name | |||
) |
Create a Thread with a given scheduler type, priority and a name.
scheduler | The scheduler, one of ORO_SCHED_RT or ORO_SCHED_OTHER. | |
priority | The priority of the thread, this is interpreted by your RTOS. | |
period | The period in seconds (eg 0.001) of the thread, or zero if not periodic. | |
cpu_affinity | The cpu affinity of the thread, this is interpreted by your RTOS. | |
name | The name of the Thread. May be used by your OS to identify the thread. the thread's own virtual functions are executed. |
Definition at line 238 of file Thread.cpp.
RTT::os::Thread::~Thread | ( | ) | [virtual] |
Definition at line 322 of file Thread.cpp.
RTT::os::Thread::Thread | ( | const Thread & | ) | [private] |
RTT::os::Thread::Thread | ( | int | scheduler, | |
int | priority, | |||
double | period, | |||
unsigned | cpu_affinity, | |||
const std::string & | name | |||
) |
Create a Thread with a given scheduler type, priority and a name.
scheduler | The scheduler, one of ORO_SCHED_RT or ORO_SCHED_OTHER. | |
priority | The priority of the thread, this is interpreted by your RTOS. | |
period | The period in seconds (eg 0.001) of the thread, or zero if not periodic. | |
cpu_affinity | The cpu affinity of the thread, this is interpreted by your RTOS. | |
name | The name of the Thread. May be used by your OS to identify the thread. the thread's own virtual functions are executed. |
virtual RTT::os::Thread::~Thread | ( | ) | [virtual] |
RTT::os::Thread::Thread | ( | const Thread & | ) | [private] |
virtual bool RTT::os::Thread::breakLoop | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::mqueue::Dispatcher, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::corba::OrbRunner, and RTT::mqueue::Dispatcher.
bool RTT::os::Thread::breakLoop | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::mqueue::Dispatcher, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::corba::OrbRunner, and RTT::mqueue::Dispatcher.
Definition at line 504 of file Thread.cpp.
void RTT::os::Thread::configure | ( | ) | [private] |
Do configuration actions when the thread is stopped.
void RTT::os::Thread::configure | ( | ) | [private] |
Do configuration actions when the thread is stopped.
Definition at line 476 of file Thread.cpp.
void RTT::os::Thread::emergencyStop | ( | ) | [protected] |
void RTT::os::Thread::emergencyStop | ( | ) | [protected] |
Definition at line 228 of file Thread.cpp.
virtual void RTT::os::Thread::finalize | ( | ) | [protected, virtual] |
void RTT::os::Thread::finalize | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::SimulationThread, RTT::extras::TimerThread, RTT::Activity, RTT::extras::SimulationThread, RTT::extras::TimerThread, and RTT::corba::OrbRunner.
Definition at line 515 of file Thread.cpp.
virtual unsigned RTT::os::Thread::getCpuAffinity | ( | ) | const [virtual] |
Reimplemented in RTT::Activity, and RTT::Activity.
unsigned RTT::os::Thread::getCpuAffinity | ( | ) | const [virtual] |
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 589 of file Thread.cpp.
virtual int RTT::os::Thread::getMaxOverrun | ( | ) | const [virtual] |
Implements RTT::os::ThreadInterface.
int RTT::os::Thread::getMaxOverrun | ( | ) | const [virtual] |
Implements RTT::os::ThreadInterface.
Definition at line 620 of file Thread.cpp.
virtual const char* RTT::os::Thread::getName | ( | ) | const [virtual] |
Read the name of this task
Implements RTT::os::ThreadInterface.
const char * RTT::os::Thread::getName | ( | ) | const [virtual] |
Read the name of this task
Implements RTT::os::ThreadInterface.
Definition at line 610 of file Thread.cpp.
virtual Seconds RTT::os::Thread::getPeriod | ( | ) | const [virtual] |
Get the periodicity in Seconds. Return zero if non periodic.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
Get the periodicity of this thread (seconds, nanoseconds)
double RTT::os::Thread::getPeriod | ( | ) | const [virtual] |
Get the periodicity in Seconds. Return zero if non periodic.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 574 of file Thread.cpp.
Get the periodicity of this thread (seconds, nanoseconds)
Definition at line 553 of file Thread.cpp.
virtual nsecs RTT::os::Thread::getPeriodNS | ( | ) | const [virtual] |
Get the periodicity in nanoseconds. Return zero if non periodic.
Implements RTT::os::ThreadInterface.
nsecs RTT::os::Thread::getPeriodNS | ( | ) | const [virtual] |
Get the periodicity in nanoseconds. Return zero if non periodic.
Implements RTT::os::ThreadInterface.
Definition at line 579 of file Thread.cpp.
virtual int RTT::os::Thread::getPriority | ( | ) | const [virtual] |
The priority of this Thread.
Implements RTT::os::ThreadInterface.
int RTT::os::Thread::getPriority | ( | ) | const [virtual] |
The priority of this Thread.
Implements RTT::os::ThreadInterface.
Definition at line 569 of file Thread.cpp.
virtual int RTT::os::Thread::getScheduler | ( | ) | const [virtual] |
Get the scheduler policy in which this thread runs.
Implements RTT::os::ThreadInterface.
int RTT::os::Thread::getScheduler | ( | ) | const [virtual] |
Get the scheduler policy in which this thread runs.
Implements RTT::os::ThreadInterface.
Definition at line 471 of file Thread.cpp.
virtual const RTOS_TASK* RTT::os::Thread::getTask | ( | ) | const [inline, virtual] |
const version of the above.
Implements RTT::os::ThreadInterface.
Definition at line 179 of file rtt/os/Thread.hpp.
virtual RTOS_TASK* RTT::os::Thread::getTask | ( | ) | [inline, virtual] |
Get the RTOS_TASK pointer.
Implements RTT::os::ThreadInterface.
Definition at line 174 of file rtt/os/Thread.hpp.
virtual const RTOS_TASK* RTT::os::Thread::getTask | ( | ) | const [inline, virtual] |
const version of the above.
Implements RTT::os::ThreadInterface.
Definition at line 179 of file install/include/rtt/os/Thread.hpp.
virtual RTOS_TASK* RTT::os::Thread::getTask | ( | ) | [inline, virtual] |
Get the RTOS_TASK pointer.
Implements RTT::os::ThreadInterface.
Definition at line 174 of file install/include/rtt/os/Thread.hpp.
virtual bool RTT::os::Thread::initialize | ( | ) | [protected, virtual] |
bool RTT::os::Thread::initialize | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::SimulationThread, RTT::extras::TimerThread, RTT::corba::CorbaDispatcher, RTT::mqueue::Dispatcher, RTT::Activity, RTT::extras::SimulationThread, RTT::extras::TimerThread, RTT::corba::CorbaDispatcher, and RTT::mqueue::Dispatcher.
Definition at line 510 of file Thread.cpp.
virtual bool RTT::os::Thread::isActive | ( | ) | const [virtual] |
Returns whether the thread is active. A thread is active between the invocation of start() and the invocation of stop().
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
bool RTT::os::Thread::isActive | ( | ) | const [virtual] |
Returns whether the thread is active. A thread is active between the invocation of start() and the invocation of stop().
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 447 of file Thread.cpp.
virtual bool RTT::os::Thread::isPeriodic | ( | ) | const [virtual] |
Reimplemented in RTT::Activity, and RTT::Activity.
bool RTT::os::Thread::isPeriodic | ( | ) | const [virtual] |
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 564 of file Thread.cpp.
virtual bool RTT::os::Thread::isRunning | ( | ) | const [virtual] |
Returns whether the thread is running. A thread is running if it is executing its loop() function or in the process of periodically calling step(). Hence for periodic threads, isRunning() == isActive() while for non-periodic threads, isRunning() is only true if isActive() and it is executing loop().
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::SimulationThread, RTT::Activity, RTT::extras::FileDescriptorActivity, and RTT::extras::SimulationThread.
bool RTT::os::Thread::isRunning | ( | ) | const [virtual] |
Returns whether the thread is running. A thread is running if it is executing its loop() function or in the process of periodically calling step(). Hence for periodic threads, isRunning() == isActive() while for non-periodic threads, isRunning() is only true if isActive() and it is executing loop().
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::SimulationThread, RTT::Activity, RTT::extras::FileDescriptorActivity, and RTT::extras::SimulationThread.
Definition at line 442 of file Thread.cpp.
virtual void RTT::os::Thread::loop | ( | ) | [protected, virtual] |
void RTT::os::Thread::loop | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::mqueue::Dispatcher, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::corba::CorbaDispatcher, RTT::corba::OrbRunner, and RTT::mqueue::Dispatcher.
Definition at line 499 of file Thread.cpp.
virtual bool RTT::os::Thread::setCpuAffinity | ( | unsigned | cpu_affinity | ) | [virtual] |
Set cpu affinity for this thread The cpu affinity of the thread (
Reimplemented in RTT::Activity, and RTT::Activity.
bool RTT::os::Thread::setCpuAffinity | ( | unsigned | cpu_affinity | ) | [virtual] |
Set cpu affinity for this thread The cpu affinity of the thread (
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 584 of file Thread.cpp.
virtual void RTT::os::Thread::setMaxOverrun | ( | int | m | ) | [virtual] |
Implements RTT::os::ThreadInterface.
void RTT::os::Thread::setMaxOverrun | ( | int | m | ) | [virtual] |
Implements RTT::os::ThreadInterface.
Definition at line 615 of file Thread.cpp.
bool RTT::os::Thread::setPeriod | ( | TIME_SPEC | p | ) |
Set the periodicity of this thread
Set the periodicity of this thread (seconds, nanoseconds)
bool RTT::os::Thread::setPeriod | ( | Seconds | new_period | ) | [virtual] |
Set the periodicity in Seconds.
new_period | A positive number expressing the period |
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
bool RTT::os::Thread::setPeriod | ( | TIME_SPEC | p | ) |
Set the periodicity of this thread
Definition at line 548 of file Thread.cpp.
Set the periodicity of this thread (seconds, nanoseconds)
Definition at line 525 of file Thread.cpp.
bool RTT::os::Thread::setPeriod | ( | Seconds | new_period | ) | [virtual] |
Set the periodicity in Seconds.
new_period | A positive number expressing the period |
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, and RTT::Activity.
Definition at line 519 of file Thread.cpp.
virtual bool RTT::os::Thread::setPriority | ( | int | priority | ) | [virtual] |
Set the priority of this Thread.
priority | The priority given upon construction of this thread. It has to be interpreted in the current OS scheduler. |
Implements RTT::os::ThreadInterface.
bool RTT::os::Thread::setPriority | ( | int | priority | ) | [virtual] |
Set the priority of this Thread.
priority | The priority given upon construction of this thread. It has to be interpreted in the current OS scheduler. |
Implements RTT::os::ThreadInterface.
Definition at line 559 of file Thread.cpp.
virtual bool RTT::os::Thread::setScheduler | ( | int | sched_type | ) | [virtual] |
Change the scheduler policy in which this thread runs.
sched_type | An OS-specific value which selects a scheduler. Orocos requires that these two values are available:
|
Your OS can in addition provide other sched_type's which map more naturally to the schedulers present. If your OS does not make a distinction between real-time and other, both values may map to the same scheduler type.
Implements RTT::os::ThreadInterface.
bool RTT::os::Thread::setScheduler | ( | int | sched_type | ) | [virtual] |
Change the scheduler policy in which this thread runs.
sched_type | An OS-specific value which selects a scheduler. Orocos requires that these two values are available:
|
Your OS can in addition provide other sched_type's which map more naturally to the schedulers present. If your OS does not make a distinction between real-time and other, both values may map to the same scheduler type.
Implements RTT::os::ThreadInterface.
Definition at line 452 of file Thread.cpp.
static void RTT::os::Thread::setStackSize | ( | unsigned int | ssize | ) | [static] |
Sets the stack size of the threads to be created. This value is suggestive and may be altered or ignored by your operating system. Use zero to use the system's default.
ssize | the size of the stack in bytes |
void RTT::os::Thread::setStackSize | ( | unsigned int | ssize | ) | [static] |
Sets the stack size of the threads to be created. This value is suggestive and may be altered or ignored by your operating system. Use zero to use the system's default.
ssize | the size of the stack in bytes |
Definition at line 73 of file Thread.cpp.
void RTT::os::Thread::setup | ( | int | _priority, | |
unsigned | cpu_affinity, | |||
const std::string & | name | |||
) | [private] |
void RTT::os::Thread::setup | ( | int | _priority, | |
unsigned | cpu_affinity, | |||
const std::string & | name | |||
) | [private] |
Definition at line 251 of file Thread.cpp.
virtual void RTT::os::Thread::setWaitPeriodPolicy | ( | int | p | ) | [virtual] |
Set the wait policy of a periodic thread
The | wait policy between ORO_WAIT_ABS (absolute wait) and ORO_WAIT_REL (relative wait) |
Implements RTT::os::ThreadInterface.
void RTT::os::Thread::setWaitPeriodPolicy | ( | int | p | ) | [virtual] |
Set the wait policy of a periodic thread
The | wait policy between ORO_WAIT_ABS (absolute wait) and ORO_WAIT_REL (relative wait) |
Implements RTT::os::ThreadInterface.
Definition at line 625 of file Thread.cpp.
virtual bool RTT::os::Thread::start | ( | ) | [virtual] |
Start the Thread.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::IRQActivity, RTT::extras::SimulationThread, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::IRQActivity, and RTT::extras::SimulationThread.
bool RTT::os::Thread::start | ( | ) | [virtual] |
Start the Thread.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::IRQActivity, RTT::extras::SimulationThread, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::IRQActivity, and RTT::extras::SimulationThread.
Definition at line 335 of file Thread.cpp.
virtual void RTT::os::Thread::step | ( | ) | [protected, virtual] |
void RTT::os::Thread::step | ( | ) | [protected, virtual] |
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::SimulationThread, RTT::extras::TimerThread, RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::extras::SimulationThread, and RTT::extras::TimerThread.
Definition at line 495 of file Thread.cpp.
virtual bool RTT::os::Thread::stop | ( | ) | [virtual] |
Stop the Thread.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::Activity, and RTT::extras::FileDescriptorActivity.
bool RTT::os::Thread::stop | ( | ) | [virtual] |
Stop the Thread.
Implements RTT::os::ThreadInterface.
Reimplemented in RTT::Activity, RTT::extras::FileDescriptorActivity, RTT::Activity, and RTT::extras::FileDescriptorActivity.
Definition at line 400 of file Thread.cpp.
void RTT::os::Thread::terminate | ( | ) | [protected] |
Exit and destroy the thread
void RTT::os::Thread::terminate | ( | ) | [protected] |
Exit and destroy the thread
Definition at line 599 of file Thread.cpp.
virtual void RTT::os::Thread::yield | ( | ) | [virtual] |
Yields (put to the back of the scheduler queue) the calling thread.
Implements RTT::os::ThreadInterface.
void RTT::os::Thread::yield | ( | ) | [virtual] |
Yields (put to the back of the scheduler queue) the calling thread.
Implements RTT::os::ThreadInterface.
Definition at line 594 of file Thread.cpp.
void* thread_function | ( | void * | t | ) | [friend] |
This is one time initialisation
The real task starts here.
Definition at line 75 of file Thread.cpp.
void* thread_function | ( | void * | t | ) | [friend] |
This is one time initialisation
The real task starts here.
Definition at line 75 of file Thread.cpp.
bool RTT::os::Thread::active [private] |
When set to 1, the thread will run, when set to 0 the thread will stop ( isActive() )
Definition at line 267 of file install/include/rtt/os/Thread.hpp.
MutexRecursive RTT::os::Thread::breaker [private] |
Used to implement synchronising breakLoop().
Definition at line 297 of file install/include/rtt/os/Thread.hpp.
static unsigned int RTT::os::Thread::default_stack_size = 0 [static, private] |
Definition at line 256 of file install/include/rtt/os/Thread.hpp.
bool RTT::os::Thread::inloop [private] |
Is true when in the loop (isRunning() )
Definition at line 277 of file install/include/rtt/os/Thread.hpp.
int RTT::os::Thread::maxOverRun [private] |
The maximum times a periodic overrun may happen, or -1 if unlimited.
Definition at line 303 of file install/include/rtt/os/Thread.hpp.
int RTT::os::Thread::msched_type [private] |
Desired scheduler type.
Definition at line 261 of file install/include/rtt/os/Thread.hpp.
NANO_TIME RTT::os::Thread::period [private] |
The period as it is passed to the operating system.
Definition at line 308 of file install/include/rtt/os/Thread.hpp.
bool RTT::os::Thread::prepareForExit [private] |
Signal the thread that it should exit.
Definition at line 272 of file install/include/rtt/os/Thread.hpp.
RTOS_TASK RTT::os::Thread::rtos_task [private] |
The realtime task structure created by this object.
Definition at line 287 of file install/include/rtt/os/Thread.hpp.
bool RTT::os::Thread::running [private] |
Indicates if step() or loop() should be executed.
Definition at line 282 of file install/include/rtt/os/Thread.hpp.
rt_sem_t RTT::os::Thread::sem [private] |
The semaphore used for starting the thread.
Definition at line 292 of file install/include/rtt/os/Thread.hpp.