From owner-freebsd-hackers Tue Apr 20 10:42:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pcayk.ukc.ac.uk (pcayk.ukc.ac.uk [129.12.41.131]) by hub.freebsd.org (Postfix) with ESMTP id 83F0C1509C for ; Tue, 20 Apr 1999 10:42:43 -0700 (PDT) (envelope-from dlombardo@excite.com) Received: from excite.com (xtsw12c.ukc.ac.uk [129.12.41.85]) by pcayk.ukc.ac.uk (8.9.2/8.9.2) with ESMTP id SAA49832 for ; Tue, 20 Apr 1999 18:41:46 +0100 (BST) (envelope-from dlombardo@excite.com) Message-ID: <371CBCCA.277AA259@excite.com> Date: Tue, 20 Apr 1999 18:43:38 +0100 From: Dean Lombardo Organization: University of Kent at Canterbury X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: Re: Using select() to implement a delay References: <199904201316.PAA23736@labinfo.iet.unipi.it> <371CA524.400D66F8@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters wrote: > > Luigi Rizzo wrote: > > > > > Do you have any reasons not to use usleep(3) or nanosleep(2)? > > > > portability to other unixes... > > Non-Posix ones? Do any of those exist anymore? I just checked NetBSD, > Solaris, and Linux, it exists on all of those. Apparently it doesn't > on SunOS 4.1.4, which is odd, since that was 4.3BSD. Just checked - usleep exists on SunOS 4.1.3, nanosleep doesn't. Dean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message