Date: Thu, 11 Dec 2008 21:44:02 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200812112144.mBBLi9Qd095489@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2008-12-11 21:44:02 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pts.c
Log:
SVN rev 185942 on 2008-12-11 21:44:02Z by ed
Add kqueue()-support to pseudo-terminal master devices.
One thing I didn't expect many applications to use, was kqueue() on
pseudo-terminal master devices. There are applications that use kqueue()
on the TTY itself (rtorrent, etc). That doesn't mean we shouldn't
implement this. Libraries like libevent use kqueue() by default, which
means they wouldn't be able to use kqueue().
The old TTY layer implements a very broken version of kqueue() by
performing the actual polling on the TTY device.
Discussed with: peter
Revision Changes Path
1.25 +107 -0 src/sys/kern/tty_pts.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812112144.mBBLi9Qd095489>
