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

From: Antoine Brodin <antoine_at_freebsd.org>
Date: Mon, 22 Dec 2008 16:59:14 +0100
On Mon, Dec 22, 2008 at 4:29 PM, Norikatsu Shigemura <nork_at_freebsd.org> 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.

Hi,

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.

Cheers,

Antoine
Received on Mon Dec 22 2008 - 15:14:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC