On 04/13/12 09:33 AM, Chase Douglas wrote:
>> The X server must be using SigIO for some really good reasons, what are they?
>
> To reduce input visual latency. Signal handlers are run immediately when
> the signal occurs. The process is interrupted no matter where it is,
> including when it is 500 stack frames deep from the event loop.
Whatever happened to Tiago's work to move that into a separate thread, which
should be much less fragile than a signal handler? (Most of the Xserver is
not thread-safe, but it's also not re-entrant for being called from a signal
handler either, so either solution has to be very limited in what it calls.)
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel