lf-lang / reactor-c

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

Program without reactions runs forever on Windows #485

Open edwardalee opened 1 month ago

edwardalee commented 1 month ago

On Windows only, a program with no reactions runs forever. Below is an example such program:

target C

reactor R1 {
  logical action a1
  logical action a2
}

reactor R2 {
  r1 = new[3] R1()
  logical action a1
  logical action a2
}

reactor R3 {
  r2 = new[4] R2()
  logical action a1
  logical action a2
}

main reactor {
  r = new[2] R3()
  logical action a1
  logical action a2
}