Subject: Re: Review wsdisplay status device
To: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
From: Julio Merino <jmmv@hispabsd.org>
List: tech-kern
Date: 06/25/2002 11:15:43
On Tue, 25 Jun 2002 10:10:45 +0200
"Juergen Hannken-Illjes" <hannken@eis.cs.tu-bs.de> wrote:

> 
> Depends on the /* XXX */. If this is a "draw some characters to screen" an
> overseen screen switch would yield "interesting" results.
> 
> What about locking instead of event monitoring? Something like:
> 
> 		ioctl(fd, WSDISPLAY_LOCK, &on);
> 
> 		/* XXX */
> 
> 		ioctl(fd, WSDISPLAY_LOCK, &off);

It sounds interesting, but this could cause much more overhead when
processing events... (mouse move events are a lot!)

Regards

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