[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Process & Fork
From: |
Quenio dos Santos |
Subject: |
Re: [Help-smalltalk] Process & Fork |
Date: |
Sun, 21 Jul 2019 12:04:25 -0300 |
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
>
- Re: [Help-smalltalk] Process & Fork, (continued)
- Re: [Help-smalltalk] Process & Fork, Quenio dos Santos, 2019/07/20
- Re: [Help-smalltalk] Process & Fork, Holger Freyther, 2019/07/22
- Re: [Help-smalltalk] Process & Fork, Quenio dos Santos, 2019/07/22
- Re: [Help-smalltalk] Process & Fork, Holger Freyther, 2019/07/23
- Re: [Help-smalltalk] Process & Fork, Quenio dos Santos, 2019/07/26
- Re: [Help-smalltalk] Process & Fork, Holger Freyther, 2019/07/26
- Re: [Help-smalltalk] Process & Fork, Quenio dos Santos, 2019/07/26
Re: [Help-smalltalk] Process & Fork, Tommy Pettersson, 2019/07/20