From owner-freebsd-hackers Tue Apr 20 15:53:12 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (Postfix) with ESMTP id E0F04151F8 for ; Tue, 20 Apr 1999 15:53:08 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.9.2/8.8.7) with UUCP id XAA79763; Tue, 20 Apr 1999 23:50:40 +0100 (BST) (envelope-from rb@gid.co.uk) Received: from [194.32.164.2] by seagoon.gid.co.uk; Tue, 20 Apr 1999 23:40:44 +0100 (BST) X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: <199904201551.IAA11637@lestat.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 20 Apr 1999 23:40:39 +0000 To: Jason Thorpe From: Bob Bishop Subject: Re: Using select() to implement a delay Cc: Graham Wheeler , hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, > > but AFAIK tv won't get updated correctly, see the BUGS entry in select(2). > >What do you mean "won't get updated correctly"? A const timeval is the >correct behavior :-) I'll not rise to that, but instead refer you again to select(2) :-) >In NetBSD, sleep(3) uses nanosleep(2), and thus doesn't stomp on SIGALARM. Ditto 3.x; but the victim is on 2.2.7 -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message