Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 15:07:08 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Gianni <gianni@freebsd.org>, Alan Cox <alc@rice.edu>, Alexander Kabaev <kan@freebsd.org>, Attilio Rao <attilio@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, freebsd-arch@freebsd.org, Konstantin Belousov <kostikbel@gmail.com>
Subject:   Re: Fwd: [RFC] Kernel shared variables
Message-ID:  <86y5o1vrer.fsf@ds4.des.no>
In-Reply-To: <201206041053.51802.jhb@freebsd.org> (John Baldwin's message of "Mon, 4 Jun 2012 10:53:51 -0400")
References:  <CACfq090r1tWhuDkxdSZ24fwafbVKU0yduu1yV2%2BoYo%2BwwT4ipA@mail.gmail.com> <20120602171632.GC2358@deviant.kiev.zoral.com.ua> <CAJ-FndCh77syp%2B860LaCbgQ6eiQAq_OMM98RxqxmCv%2BYKENXoA@mail.gmail.com> <201206041053.51802.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y5o1vrer.fsf>