15 #ifndef ECL_THREADS_THREADABLE_POS_HPP_ 16 #define ECL_THREADS_THREADABLE_POS_HPP_ 22 #include <ecl/config/ecl.hpp> 23 #if defined(ECL_IS_POSIX) 68 virtual ~Threadable() {}
80 if ( isRunning() ) {
return false; }
82 Thread thread(&Threadable::executeThreadFunction,*
this, priority);
90 Parameter<bool> isRunning;
93 Threadable() : isRunning(false) {}
95 virtual void runnable() = 0;
98 void executeThreadFunction() {
Embedded control libraries.
Priority scheduling for threads.
Priority
Shared abstraction of the scheduling priorities.