It hangs as well when I put the counter on the main process with a delay. i := 0. [ true ] whileTrue: [ i := i + 1. i displayNl. (Delay forSeconds: 1) wait. ]
$ gst counter.st 1 2 3 On Sun, Jul 21, 2019 at 8:20 AM Tommy Pettersson <p...@lysator.liu.se> wrote: > If it's not working with a delay in the main process it sounds like a bug. > What if you put a counter in the main process and print it as well, does > the main process stop too, or is it just the forked process? > > Btw, on my Linux machine your original example works the way you expect. I > get the output: > > 1 2 3 4 5 6 7 ... and so on, until I interrupt it. > > Both with v3.2.5 and current master branch. > > /Tommy > _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk