Change select(2) to kevent(2) on script(1)...

Antoine Brodin antoine at
Mon Dec 22 16:14:18 UTC 2008

On Mon, Dec 22, 2008 at 4:29 PM, Norikatsu Shigemura <nork at> wrote:
>        I think that performance improvement is significant(I don't
>        think performance improved by my patch).  But my patch is the
>        first implementation of kqueue/kevent support for TTY.
>        In fact, I could find a bug.  I hope to commit my patch.  But
>        by performance reason, my patch is not accepted, I have no
>        problem.


Could you make it a compile time option, similar to the USE_KQUEUE
option in make(1) ?
I had to write something similar to script(1) for work recently, that
ran on linux, and the freebsd sources were quite useful.



More information about the freebsd-current mailing list