From owner-freebsd-hackers Wed Feb 17 20:37:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with SMTP id A779B1134A for ; Wed, 17 Feb 1999 20:37:44 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 10DLDb-0007VU-00; Wed, 17 Feb 1999 21:37:43 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.2/8.8.3) with ESMTP id VAA64853; Wed, 17 Feb 1999 21:40:33 -0700 (MST) Message-Id: <199902180440.VAA64853@harmony.village.org> To: Dag-Erling Smorgrav Subject: Re: portability of shm, mmap, pipes and socket IPC Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "10 Feb 1999 15:30:07 +0100." References: <199902092246.PAA10658@usr02.primenet.com> <199902100403.MAA55849@spinner.netplex.com.au> <19990210085847.A11710@gil.physik.rwth-aachen.de> <199902100907.BAA79553@apollo.backplane.com> Date: Wed, 17 Feb 1999 21:40:33 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Dag-Erling Smorgrav writes: : Matthew Dillon 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