Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 15:16:35 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        wes@softweyr.com (Wes Peters)
Cc:        gram@cdsec.com, hackers@FreeBSD.ORG
Subject:   Re: Using select() to implement a delay
Message-ID:  <199904201316.PAA23736@labinfo.iet.unipi.it>
In-Reply-To: <371C9D1D.CBBB6A8F@softweyr.com> from "Wes Peters" at Apr 20, 99 09:28:10 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > I have an interesting problem. I have a routine to implement delays:
...
> > I am using this both because it gives better resolution than sleep(),
> > and also because it doesn't require the use of SIGALRM, which I am
> > using elsewhere.
> 
> Do you have any reasons not to use usleep(3) or nanosleep(2)?

portability to other unixes...

	luigi


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?199904201316.PAA23736>