MDELAY()
Joerg Sonnenberger
joerg at britannica.bec.de
Fri Apr 15 08:04:14 PDT 2005
On Fri, Apr 15, 2005 at 06:03:11AM -0700, ALeine wrote:
> dipjyoti.saikia at gmail.com 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)
>
> You may want to check out timeout(9) / untimeout(9), see man 9 timeout
> for details.
You should not use timeout(9) without a very good reason, the callout_*
interface is prefered.
Joerg
More information about the freebsd-hackers
mailing list