help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Process & Fork


From: Mark Bratcher
Subject: Re: [Help-smalltalk] Process & Fork
Date: Sun, 21 Jul 2019 12:22:03 -0400

I'm running gst 3.2.5 on Ubuntu 18.04.2 LTS (bionic) and it works fine there.

-----Original Message-----
From: help-smalltalk <help-smalltalk-bounces+mdbratch=address@hidden> On Behalf 
Of Quenio dos Santos
Sent: Sunday, July 21, 2019 11:04 AM
To: Tommy Pettersson <address@hidden>
Cc: address@hidden
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 <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/help-smalltalk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]