Subject: Re: Review wsdisplay status device
To: Bill Studenmund <wrstuden@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-kern
Date: 06/25/2002 09:27:18
On Mon, 24 Jun 2002 16:11:43 -0700 (PDT)
"Bill Studenmund" <wrstuden@netbsd.org> wrote:

> On Tue, 25 Jun 2002, Gregory McGarry wrote:
> 
> 
> I mean is it really stale? There was a display switch that moved the
> screen to screen evt.value. The fact that there was another change just
> after it doesn't invalidate that event notice. :-)
> 
> I think the important question would be though does the code keep checking
> for events? If it does, then it seems like it's doing the best it can.

In fact, the mouse daemon uses a poll() to read from the wsmouse device.
I'll add another file descriptor to the poll (the one from wsdisplay) so
I can read events from both devices as they happen. So the answer is
yes, it will keep reading events forever :p

Regards

-- 
HispaBSD admin - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>