Date: Tue, 24 Jul 2001 16:38:13 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Cc: freebsd-current@freebsd.org Subject: Re: Death sentence to KLD screen savers? Comments? Message-ID: <20010724163811.B11093@nagual.pp.ru> In-Reply-To: <200107241234.VAA14547@zodiac.mech.utsunomiya-u.ac.jp> References: <200107241207.VAA14339@zodiac.mech.utsunomiya-u.ac.jp> <20010724160822.B10585@nagual.pp.ru> <200107241234.VAA14547@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 24, 2001 at 21:34:40 +0900, Kazutaka YOKOTA wrote: > > >> We shall provide the "screen saver daemon" and a set of "screen saver > >> programs." The screen saver daemon will run in the background and > >> periodically checks if the console is idle. When it finds no > >> activity in the console, it will launch a specified "screen saver > >> program." > > > >No "periodical checks" please. It must wait on poll/select or kqevent or > >something like, event based, event provided by syscons. > > Because there already is the CONS_IDLE ioctl, I thought it's > easy for the screen saver daemon to use this ioctl. But, if > kqevent is preferred, we can do that. Maybe I am not clear, but periodical checks is time/resources waste. Sleeping on event wait, swapped out is more preferred, not occupes memory, etc. -- Andrey A. Chernov http://ache.pp.ru/ 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?20010724163811.B11093>