Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 1999 21:40:33 -0700
From:      Warner Losh <imp@village.org>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: portability of shm, mmap, pipes and socket IPC 
Message-ID:  <199902180440.VAA64853@harmony.village.org>
In-Reply-To: Your message of "10 Feb 1999 15:30:07 %2B0100." <xzp1zjybabz.fsf@flood.ping.uio.no> 
References:  <xzp1zjybabz.fsf@flood.ping.uio.no>  <199902092246.PAA10658@usr02.primenet.com> <199902100403.MAA55849@spinner.netplex.com.au> <19990210085847.A11710@gil.physik.rwth-aachen.de> <199902100907.BAA79553@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzp1zjybabz.fsf@flood.ping.uio.no> Dag-Erling Smorgrav writes:
: Matthew Dillon <dillon@apollo.backplane.com> writes:
: >     The problem is that linux updates the timeval structure on return,
: >     telling you how much time is left.
: 
: Yup. I wish FreeBSD did that - the man page already states that one
: shouldn't rely on tv not being modified, so it shouldn't break POLA.

No.  I would think that changing it would violate POLA.  Changing tv
is bogus because it is only a lower bound, especially if you have
multiple things running on the system.  It creates a race condition
that cannot be avoided, which is why it likely wasn't done in the
first place.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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