Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 00:18:00 -0800
From:      David Schultz <das@FreeBSD.ORG>
To:        Igor Serikov <bt@turtle.freedns.us>
Cc:        FreeBSD Bugs <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: rfork problem
Message-ID:  <20031104081800.GA78439@VARK.homeunix.com>
In-Reply-To: <3FA61A17.70605@turtle.freedns.us>
References:  <3FA61A17.70605@turtle.freedns.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 03, 2003, Igor Serikov wrote:
> 
>   Hello,
> 
> Combining flags RFNOWAIT and RFPPWAIT in rfork(2) under 4.6-RELEASE 
> makes the parent process sleeping on channel "ppwait" forever.

RFPPWAIT tells rfork() to wait for the child to exit, and RFNOWAIT
tells rfork() to detach the child such that it never tells the
parent when it exits.  So you're getting exactly what you asked
for, as silly as it may be.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104081800.GA78439>