RM 4.x - Simple Conditionals for While ... Repeat

You are probably right, but the point of my rule and post was to exactly replicate “Simple Condition Action”, except with multiple conditions, and to show the awkwardness of building a Boolean expression.

In the “Simple Condition Action” idiom that causes “While Condition Repeat Actions”, the initial condition is evaluated upon first entry into the Repeat loop, and also at each re-entry into the Repeat loop.

But thanks for pointing this out. Concurrency is difficult to test.

Edit: I have seen two instances of the Repeat loop running at the same time, though (flashing twice per second). Shouldn’t be able to happen, though, but it has. Perhaps you are correct that Bruce Ravenel (@bravenel) hasn’t yet fixed all the race conditions in stopping repeats.