From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 15 12:56:05 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0644716A4CF for ; Fri, 15 Apr 2005 12:56:05 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBE6B43D1D for ; Fri, 15 Apr 2005 12:56:01 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j3FCtfK8085511; Fri, 15 Apr 2005 22:25:42 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org, Dipjyoti Saikia Date: Fri, 15 Apr 2005 22:25:39 +0930 User-Agent: KMail/1.8 References: <20050412212044.GA9284@odin.ac.hmc.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1389490.M0T1n2tbtg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504152225.40067.doconnor@gsoft.com.au> X-Spam-Score: -2.5 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Re: MDELAY() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2005 12:56:05 -0000 --nextPart1389490.M0T1n2tbtg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 15 Apr 2005 21:46, Dipjyoti Saikia wrote: > DELAY() in FreeBSD uses a busy loop . I am looking for something like > sleep_on_timeout() call in Linux . (dont' want to waste the CPU cycles > by DELAY'ing) tsleep/msleep/timeout are probably what you want. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1389490.M0T1n2tbtg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCX7nM5ZPcIHs/zowRAsrzAKCSnanNIYXI3X+y0n3ir21KJ9TP7gCgqws2 jQRYnKuXCHs9xz9ts7fXbhQ= =MMSI -----END PGP SIGNATURE----- --nextPart1389490.M0T1n2tbtg--