From owner-freebsd-current Tue Jul 24 5:38:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id A1E8A37B401 for ; Tue, 24 Jul 2001 05:38:23 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.4/8.11.4) id f6OCcFX11278; Tue, 24 Jul 2001 16:38:15 +0400 (MSD) (envelope-from ache) Date: Tue, 24 Jul 2001 16:38:13 +0400 From: "Andrey A. Chernov" To: Kazutaka YOKOTA Cc: freebsd-current@freebsd.org Subject: Re: Death sentence to KLD screen savers? Comments? Message-ID: <20010724163811.B11093@nagual.pp.ru> References: <200107241207.VAA14339@zodiac.mech.utsunomiya-u.ac.jp> <20010724160822.B10585@nagual.pp.ru> <200107241234.VAA14547@zodiac.mech.utsunomiya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200107241234.VAA14547@zodiac.mech.utsunomiya-u.ac.jp> User-Agent: Mutt/1.3.19i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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