reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
lf_windows_support.h
Go to the documentation of this file.
1/* Windows API support for the C target of Lingua Franca. */
2
3
40#ifndef LF_WINDOWS_SUPPORT_H
41#define LF_WINDOWS_SUPPORT_H
42
43#include <stdint.h> // For fixed-width integral types
44#include <windows.h>
45
46#if !defined LF_SINGLE_THREADED
53typedef CRITICAL_SECTION lf_mutex_t;
59typedef struct {
61 CONDITION_VARIABLE condition;
62} lf_cond_t;
63typedef HANDLE lf_thread_t;
64#endif
65
66// Use 64-bit times and 32-bit unsigned microsteps
67#include "lf_tag_64_32.h"
68
69#endif // LF_WINDOWS_SUPPORT_H
void * lf_cond_t
Definition lf_arduino_support.h:119
void * lf_mutex_t
Definition lf_arduino_support.h:118
lf_mutex_t _lf_critical_section_t
Definition lf_windows_support.h:58
CRITICAL_SECTION lf_mutex_t
Definition lf_windows_support.h:53
HANDLE lf_thread_t
Definition lf_windows_support.h:63
_lf_critical_section_t * critical_section
Definition lf_windows_support.h:60
CONDITION_VARIABLE condition
Definition lf_windows_support.h:61