Re: Process & Fork

"Mark Bratcher" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
I'm running gst 3.2.5 on Ubuntu 18.04.2 LTS (bionic) and it works fine there.

-----Original Message-----
From: help-smalltalk <[email protected]> On Behalf Of Quenio dos Santos
Sent: Sunday, July 21, 2019 11:04 AM
To: Tommy Pettersson <[email protected]>
Cc: [email protected]
Subject: Re: [Help-smalltalk] Process & Fork

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 <[email protected]> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.