Re: [PATCH xserver 4/9] Create a threaded mechanism for input [v3]

2015-12-17 Thread Keith Packard
Peter Hutterer writes: I've squashed the two patches which add threaded input together; those were intended to be merged once Mark had finished reviewing the mutex changes. I'll respond to the questions about the second patch separately. > drop the s after select()

[PATCH xserver 4/9] Create a threaded mechanism for input [v3]

2015-12-17 Thread Keith Packard
The current SIGIO signal handler method, used at generation of input events, has a bunch of oddities. This patch introduces an alternative way using a thread, which is used to select()s all input device file descriptors. A mutex was used to control the access to input structures by the main and

Re: [PATCH xserver 4/9] Create a threaded mechanism for input [v3]

2015-12-17 Thread Peter Hutterer
On Thu, Dec 17, 2015 at 04:11:39PM -0800, Keith Packard wrote: > The current SIGIO signal handler method, used at generation of input events, > has a bunch of oddities. This patch introduces an alternative way using a > thread, which is used to select()s all input device file descriptors. drop