VEX V5 C++ API
Functions | Classes | Namespaces | Macros
vex_thread.h File Reference

Header for thread control class used in C++ only. More...

Functions

void rm_enterCritical ()
 
void rm_exitCritical ()
 
int32_t vex::this_thread::get_id ()
 Gets the ID of the thread. More...
 
void vex::this_thread::yield ()
 Suspends the current thread. More...
 
void vex::this_thread::sleep_for (uint32_t time_ms)
 sleep_for More...
 
void vex::this_thread::sleep_until (uint32_t time)
 sleep_until More...
 
void vex::this_thread::setPriority (int32_t priority)
 Sets the priority of the current thread. More...
 
int32_t vex::this_thread::priority ()
 Gets the priority of the current thread. More...
 

Classes

class  vex::thread
 Use this class to create and control threads. More...
 
class  vex::mutex
 Use this class to create and control mutexes. More...
 

Namespaces

 vex
 device class
 
 vex::this_thread
 

Macros

#define RM_USE_RTOS_THREADING
 
#define rm_backgroundProcessing()   ;
 

Detailed Description

Header for thread control class used in C++ only.

Function Documentation

◆ rm_enterCritical()

void rm_enterCritical ( )

◆ rm_exitCritical()

void rm_exitCritical ( )

Macro Definition Documentation

◆ RM_USE_RTOS_THREADING

#define RM_USE_RTOS_THREADING

◆ rm_backgroundProcessing

#define rm_backgroundProcessing ( )    ;