lf-lang / reactor-c

A reactor runtime written in C
Other
12 stars 24 forks source link

Let user specify the start-time of the program #496

Open erlingrj opened 1 week ago

erlingrj commented 1 week ago

This PR adds a new command line argument -s --start-time that allows the user to specify the start time of the program. This currently only works for non-federated programs. In a federated setting the program will then wait until the specified start time (if it is in the future) before reaching out to the RTI and negotiating a start time.

Currently there are no tests for this feature, but I have tested it on my end.