Subject: Re: Bug or expected behavior?
To: None <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 10/17/2001 00:49:37
Seth Kurtzberg <firstname.lastname@example.org> writes:
> Most of the time this works as expected. However, if a child process is
> blocked on a select() call at the time the parent calls waitpid(), then
> waitpid() does not return despite the WNOHANG option. The nature of the
> operation is that there are circumstances in which the child process will
> block on a select for several minutes.
It does indeed sound like a bug, from where I stand at least. If you
say you don't want to block, you mean it. I see nothing in the man
page about blocking if the child is doing particular operations.
That said, could you produce a minimal test case program to
demonstrate the problem?
Perry E. Metzger email@example.com
NetBSD Development, Support & CDs. http://www.wasabisystems.com/