Date: Sun, 06 May 2001 16:31:02 +0900 From: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> To: current@FreeBSD.org Cc: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> Subject: select(2) converted to use a condition variable, and optimised Message-ID: <200105060731.f467V4g13184@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>
next in thread | raw e-mail | index | archive | help
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 <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105060731.f467V4g13184>