export operation Hi if ! flip then stdout.putstring["Waiting Hi\n"] wait c end if stdout.putstring["Hi\n"] flip <- false signal c end hi export operation Ho if flip then stdout.putstring["Waiting Ho\n"] wait c end if stdout.putstring["Ho\n"] flip <- true signal c end ho
Hi Waiting Hi Ho Hi Ho Hi Ho Hi Ho Hi Ho Hi Ho Waiting Ho Hi Ho Hi Ho Hi Ho Hi Ho
hi
ho
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)