standards/53554 fix for review (Re: interval timers not cleared in fork())

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Mon Jun 23 01:50:27 PDT 2003


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 


More information about the freebsd-standards mailing list