Subject: Re: Strange behavior with build.sh -j 4
To: David Laight <david@l8s.co.uk>
From: Andreas Gustafsson <gson@gson.org>
List: current-users
Date: 11/01/2002 08:53:40
David Laight writes:
> Is it the bug I found that causes select to fail to wake up if
> 3 or processes are select()ing on the same fd, and do things
> in specific orders?  See kern/17517.

I don't think that's it - there should be only one make process
selecting on each fd.

My current theory is that it is a race condition in make.  Make relies
on a SIGCHLD to wake up select() when a job exits, but what if the job
exits *before* the parent make has entered select()?
-- 
Andreas Gustafsson, gson@gson.org