Fwd: [RFC] Kernel shared variables

Dag-Erling Smørgrav des at des.no
Tue Jun 5 13:07:10 UTC 2012


John Baldwin <jhb at freebsd.org> writes:
> I think this is an important question actually.  Is there anything
> that really needs to be here besides gettimeofday()?  I mean, is there
> any real-world application that needs to call getpid() or getppid() a
> bunch of times?

Yes, for fork detection when accessing resources shared between
descendants of the process that allocated them.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list