[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.
 
> 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.

ALeine
___________________________________________________________________
WebMail FREE http://mail.austrosearch.net 
_______________________________________________
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