Date: Sun, 26 Nov 2000 22:16:13 -0500 From: "Brian F. Feldman" <green@FreeBSD.org> To: Brian Somers <brian@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pppctl Makefile pppctl.c Message-ID: <200011270316.eAR3GE578531@green.dyndns.org> In-Reply-To: Message from Brian Somers <brian@FreeBSD.org> of "Sun, 26 Nov 2000 18:31:26 PST." <200011270231.SAA15622@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers <brian@FreeBSD.org> wrote: > brian 2000/11/26 18:31:26 PST > > Modified files: > usr.sbin/pppctl Makefile pppctl.c > Log: > Change interactive mode so that a monitor thread keeps an eye on the > ppp descriptor and signals the terminal thread when there's something > to read on that descriptor. > > This means that the main loop doesn't have to alarm() itself into > dropping out of el_gets() frequently to check the descriptor. This > dropping out was disturbing syscons (via ioctl()s from libedit) enough > to reset the screensaver timeout every .5 of a second. Unless I'm mistaken, this gets the reward for being the first program in the base system to actually use pthreads :) Go Brian! -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011270316.eAR3GE578531>
