Robotics Library  0.7.0
Functions
rl::util::rtai::this_thread Namespace Reference

Functions

thread::id get_id ()
 
int get_priority ()
 
int get_priority_max ()
 
int get_priority_min ()
 
void set_priority (const int &priority)
 
template<typename Rep , typename Period >
void sleep_for (const ::std::chrono::duration< Rep, Period > &rtime)
 
template<typename Duration >
void sleep_until (const ::std::chrono::time_point< chrono::system_clock, Duration > &atime)
 
template<typename Clock , typename Duration >
void sleep_until (const ::std::chrono::time_point< Clock, Duration > &atime)
 
void start_timer ()
 
void stop_timer ()
 
void wait_period ()
 
void yield ()
 

Function Documentation

◆ get_id()

thread::id rl::util::rtai::this_thread::get_id ( )
inline

◆ get_priority()

int rl::util::rtai::this_thread::get_priority ( )
inline

◆ get_priority_max()

int rl::util::rtai::this_thread::get_priority_max ( )
inline

◆ get_priority_min()

int rl::util::rtai::this_thread::get_priority_min ( )
inline

◆ set_priority()

void rl::util::rtai::this_thread::set_priority ( const int &  priority)
inline

◆ sleep_for()

template<typename Rep , typename Period >
void rl::util::rtai::this_thread::sleep_for ( const ::std::chrono::duration< Rep, Period > &  rtime)
inline

◆ sleep_until() [1/2]

template<typename Duration >
void rl::util::rtai::this_thread::sleep_until ( const ::std::chrono::time_point< chrono::system_clock, Duration > &  atime)
inline

◆ sleep_until() [2/2]

template<typename Clock , typename Duration >
void rl::util::rtai::this_thread::sleep_until ( const ::std::chrono::time_point< Clock, Duration > &  atime)
inline

◆ start_timer()

void rl::util::rtai::this_thread::start_timer ( )
inline

◆ stop_timer()

void rl::util::rtai::this_thread::stop_timer ( )
inline

◆ wait_period()

void rl::util::rtai::this_thread::wait_period ( )
inline

◆ yield()

void rl::util::rtai::this_thread::yield ( )
inline