From owner-freebsd-hackers Fri Feb 12 15:46:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23955 for freebsd-hackers-outgoing; Fri, 12 Feb 1999 15:46:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23947 for ; Fri, 12 Feb 1999 15:46:34 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id QAB24459; Fri, 12 Feb 1999 16:46:27 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp01.primenet.com, id smtpd024189; Fri Feb 12 16:46:18 1999 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id QAA26318; Fri, 12 Feb 1999 16:45:49 -0700 (MST) From: Terry Lambert Message-Id: <199902122345.QAA26318@usr01.primenet.com> Subject: Re: portability of shm, mmap, pipes and socket IPC To: hgoldste@bbs.mpcs.com Date: Fri, 12 Feb 1999 23:45:49 +0000 (GMT) Cc: tlambert@primenet.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199902121146.GAA02357@cally.south.mpcs.com> from "Howard Goldstein" at Feb 12, 99 06:46:58 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : > > > Matthew Dillon writes: > : > > > > The problem is that linux updates the timeval structure on return, > : > > > > telling you how much time is left. > : > : Linux doesn't do this in the default implementation any more. They > : have a seperate system call that still does this. > > This would save me a gettimeofday() call and some math if we had a > call for this too. > > : [...] > : When writing new code. > > Yes, for that. > > Realtime signals would help almost as much, perhaps in a more portable > way. man setitimer Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message