On Tue, Jul 24, 2012 at 12:06:34PM +0400, Denis Bilenko
wrote:
> Expected output:
>
> *. goes on infinitely
That's what I seem to get, but that's to be expected from races, which is
why I asked.
> > Can you explain the mechanism or nature of that race condition?
>
> in loop_fork() you call
H
On Mon, Jul 23, 2012 at 1:24 PM, Marc Lehmann wrote:
> Hmm, it's been a long time - what exactly is the behaviour I am supposed to
> see from the program without the sleep, and what behaviour do you get?
Here's the program with sleep removed (no further changes necessary),
just tested it against