RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
rtos_posix.cpp File Reference
#include <chrono>
#include <iostream>
#include "rtos.hpp"
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include "debug.hpp"
Include dependency graph for rtos_posix.cpp:

Go to the source code of this file.


thread_local bool realtime_key = false
thread_local int64_t DEFAULT_PERIOD_VALUE = 0
thread_local int64_t * RT_PERIOD = &DEFAULT_PERIOD_VALUE
timespec last_clock_read
timespec last_proc_time

Variable Documentation


thread_local int64_t DEFAULT_PERIOD_VALUE = 0

Definition at line 42 of file rtos_posix.cpp.

◆ last_clock_read

timespec last_clock_read

Definition at line 165 of file rtos_posix.cpp.

◆ last_proc_time

timespec last_proc_time

Definition at line 167 of file rtos_posix.cpp.

◆ realtime_key

thread_local bool realtime_key = false

Definition at line 40 of file rtos_posix.cpp.


thread_local int64_t* RT_PERIOD = &DEFAULT_PERIOD_VALUE

Definition at line 44 of file rtos_posix.cpp.