Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 23:40:39 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        Jason Thorpe <thorpej@nas.nasa.gov>
Cc:        Graham Wheeler <gram@cdsec.com>, hackers@FreeBSD.ORG
Subject:   Re: Using select() to implement a delay
Message-ID:  <l03020900b342bfadd4a6@[194.32.164.2]>
In-Reply-To: <199904201551.IAA11637@lestat.nas.nasa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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