Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 12:14:19 +0200
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        hackers@freebsd.org
Subject:   ITIMER_VIRTUAL running in child after fork()?
Message-ID:  <20030618101419.GE1133@i2.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
The man page for fork() says:
"· All interval timers are cleared; see setitimer(2)."
So clearly ITIMER_VIRTUAL should be cleared as well, but a quick test
showed that a fork()ed child still has the VIRTUAL (& PROF) timer running.

Is this right?
-- 
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?20030618101419.GE1133>