* Seigo Tanimura <[EMAIL PROTECTED]> [010506 04:40] wrote:
> As conversion of select(2) from msleep(9) to a condition variable is
> in the SMPng TODO list, I have done that task.
>
> Also, we do not have to lock a process in order to evaluate the result
> of {sel,poll}scan() and the remaining time of {select,poll}(2). It
> should be enough to do those pieces of work first, followed by locking
> a process and wait for a condition variable or selwakeup().
>
> Those changes are in the patch at:
>
> http://people.FreeBSD.org/~tanimura/patches/selectopt.diff
Please do not remove the spl calls, they serve as a useful guide
for making finer grained locks as well as error checking the new
locks.
--
-Alfred Perlstein - [[EMAIL PROTECTED]]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message