Re: fork() race in SIGCHLD handler
From: Pete Zaitcev (zaitcev_at_yahoo.com)
Date: 12/31/03
- Next message: Frank Cusack: "Re: fork() race in SIGCHLD handler"
- Previous message: David Schwartz: "Re: delay on select()"
- In reply to: P.T. Breuer: "Re: fork() race in SIGCHLD handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 19:33:20 -0800
On Tue, 30 Dec 2003 15:50:29 +0000, P.T. Breuer wrote:
> In comp.os.linux.development.system Chris Vine <chris@cvine--nospam--.freeserve.co.uk> wrote:
>> noticed that the test code below exhibits a timing race on fork() in Linux
>> kernel 2.6.0. If the test code below illustrating the problem is compiled
>
> I recall linus saying that he had changed the order of the first
> process to execute after fork twice in the 2.6.0 series. There was some
> problem such as you detail below, but it went away ages ago with the
> changes made some way back now.
Your recollection matches mine, except that the problem
didn't go away, but was made less likely. As far as I know,
there is nothing one can do, except make parent and child to
communicate in some way.
-- Pete
- Next message: Frank Cusack: "Re: fork() race in SIGCHLD handler"
- Previous message: David Schwartz: "Re: delay on select()"
- In reply to: P.T. Breuer: "Re: fork() race in SIGCHLD handler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|