MDELAY()

Joseph Koshy joseph.koshy at gmail.com
Fri Apr 15 06:04:38 PDT 2005


> sleep_on_timeout() call in Linux . (dont' want to waste the CPU cycles

You may want to try the manual pages.

% man -k sleep | fgrep '(9)'                                          
endtsleep(9), sleepinit(9), unsleep(9) - manage the queues of sleeping processes
init_sleepqueues(9) ... sleepq_wait_sig(9) - manage the queues of
sleeping threads
sleep(9), msleep(9), tsleep(9), wakeup(9) - wait for events
vm_page_sleep_busy(9)    - wait for a busy page to become unbusy

% man -k DELAY | fgrep '(9)'
DELAY(9)                 - busy loop for an interval

-- 
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy


More information about the freebsd-hackers mailing list