ALeine aleine at
Fri Apr 15 06:02:38 PDT 2005

dipjyoti.saikia at 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.
> 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 .

Reading the man pages for asleep(9) / wakeup(9) should give you a
good introduction.

WebMail FREE 

More information about the freebsd-hackers mailing list