Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2005 13:04:37 +0000
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Dipjyoti Saikia <dipjyoti.saikia@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: MDELAY()
Message-ID:  <84dead7205041506045923ca59@mail.gmail.com>
In-Reply-To: <dcbc809d050415051659e65964@mail.gmail.com>
References:  <dcbc809d0504121403639b263f@mail.gmail.com> <20050412212044.GA9284@odin.ac.hmc.edu> <dcbc809d050415051659e65964@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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)'                                         =20
endtsleep(9), sleepinit(9), unsleep(9) - manage the queues of sleeping proc=
esses
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead7205041506045923ca59>