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 -- Seigo Tanimura <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: select(2) converted to use a condition variable, and ... Seigo Tanimura
- Re: select(2) converted to use a condition variable,... Alfred Perlstein
- Re: select(2) converted to use a condition varia... John Baldwin
- RE: select(2) converted to use a condition variable,... John Baldwin
- RE: select(2) converted to use a condition varia... Seigo Tanimura
- RE: select(2) converted to use a condition v... John Baldwin
- RE: select(2) converted to use a conditi... Seigo Tanimura
- RE: select(2) converted to use a co... Seigo Tanimura
- RE: select(2) converted to use a co... John Baldwin
- Re: select(2) converted to use ... Seigo Tanimura
- Re: select(2) converted to ... Terry Lambert