Date: Fri, 15 Apr 2005 22:25:39 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org, Dipjyoti Saikia <dipjyoti.saikia@gmail.com> Subject: Re: MDELAY() Message-ID: <200504152225.40067.doconnor@gsoft.com.au> In-Reply-To: <dcbc809d050415051659e65964@mail.gmail.com> References: <dcbc809d0504121403639b263f@mail.gmail.com> <20050412212044.GA9284@odin.ac.hmc.edu> <dcbc809d050415051659e65964@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504152225.40067.doconnor>