reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
lf_linux_support.h
Go to the documentation of this file.
1/* Linux API support for the C target of Lingua Franca. */
2
3
32#ifndef LF_LINUX_SUPPORT_H
33#define LF_LINUX_SUPPORT_H
34
35#include <stdint.h> // For fixed-width integral types
36#include <time.h> // For CLOCK_MONOTONIC
37#include <unistd.h> // _POSIX_TIMERS _POSIX_CLOCK_MONOTONIC
38
39// Use 64-bit times and 32-bit unsigned microsteps
40#include "lf_tag_64_32.h"
41
42#if !defined LF_SINGLE_THREADED
44#endif
45
46#if !defined(_POSIX_TIMERS) || _POSIX_TIMERS <= 0
47#error Linux platform misses clock support
48#endif
49
50#endif // LF_LINUX_SUPPORT_H