ITIMER_VIRTUAL running in child after fork()?
Volker Stolz
stolz at i2.informatik.rwth-aachen.de
Wed Jun 18 03:14:22 PDT 2003
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
More information about the freebsd-hackers
mailing list