Date: Mon, 23 Jun 2003 10:49:23 +0200 From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: Wartan Hachaturow <wart@tepkom.ru> Cc: rwatson@freebsd.org Subject: Re: standards/53554 fix for review (Re: interval timers not cleared in fork()) Message-ID: <20030623084923.GA450@i2.informatik.rwth-aachen.de> In-Reply-To: <20030621163449.GA19155@mojo.tepkom.ru> References: <200306201421.h5KELfUh011622@menelaos.informatik.rwth-aachen.de> <20030621163449.GA19155@mojo.tepkom.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 21, 2003 at 08:34:49PM +0400, Wartan Hachaturow wrote: > On Fri, Jun 20, 2003 at 04:21:42PM +0200, Volker Stolz wrote: > > > SUSv2 says that on invoking fork(): > > - If the Timers option is supported, per-process timers created by the > > parent are not inherited by the child process. > > SUSv3 requires this as well. > This is a quick fix (for 5.1, it's also affected): The patch applies fine to -STABLE and has the desired effect: virtual set: 1 500 real get: 0 0 prof get: 0 0 virtual get: 0 0 Thanks for looking into this! Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030623084923.GA450>