VMX-pi C++ HAL Library for Raspberry Pi
VMX-pi Robotics Controller & Vision/Motion Processor
Public Member Functions | Friends | List of all members
VMXThread Class Reference

The VMXThread class provides thread management functions. More...

#include <VMXThread.h>

Public Member Functions

bool IsSchedulerRealtime ()
 Returns whether the thread upon which VMX-pi HAL is initialized is running at "realtime" priority. More...
 

Friends

class VMXPi
 
class VMXZero
 

Detailed Description

The VMXThread class provides thread management functions.

Member Function Documentation

◆ IsSchedulerRealtime()

bool VMXThread::IsSchedulerRealtime ( )

Returns whether the thread upon which VMX-pi HAL is initialized is running at "realtime" priority.

VMX-pi HAL uses the pthread SCHED_FIFO scheduling policy. If the VMX-pi HAL primary thread is "realtime", it runs at the maximum priority within the SCHED_FIFO scheduling policy.

Returns
Returns true if the VMX-pi HAL primary thread is running at "realtime" priority.

The documentation for this class was generated from the following files: