On Fri, Apr 15, 2005 at 06:03:11AM -0700, ALeine wrote:
> [EMAIL PROTECTED] 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to