Date: Fri, 15 Apr 2005 17:46:16 +0530 From: Dipjyoti Saikia <dipjyoti.saikia@gmail.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-hackers@freebsd.org Subject: Re: MDELAY() Message-ID: <dcbc809d050415051659e65964@mail.gmail.com> In-Reply-To: <20050412212044.GA9284@odin.ac.hmc.edu> References: <dcbc809d0504121403639b263f@mail.gmail.com> <20050412212044.GA9284@odin.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 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) As I am pretty new to programming with Free BSD , can you help me with some details about equivalent implementation(wait queues etc) in Free BSD . ---Dip On 4/13/05, Brooks Davis <brooks@one-eyed-alien.net> wrote: > On Wed, Apr 13, 2005 at 02:33:22AM +0530, Dipjyoti Saikia wrote: > > Hi, > > > > Can any one help me out with a better Implementation of MDELAY() in > > FreeBSD kernel 4.10 >=20 > Please start by defining better. >=20 > -- Brooks >=20 > -- > Any statement of the form "X is the one, true Y" is FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 >=20 >=20 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcbc809d050415051659e65964>