[PATCH mouse] bsd: Don't try to use SIGIO for input ABI >= 23

Adam Jackson ajax at redhat.com
Wed Jun 8 16:49:55 UTC 2016


On Tue, 2016-06-07 at 16:23 -0700, Keith Packard wrote:
> Adam Jackson <ajax at redhat.com> writes:
> 
> > That said we're not masking sigio off from the input thread, which is
> > probably also worth fixing.
> 
> I hope this does what you mean:
> 
> InputThreadDoWork(void *arg)
> {
>     sigset_t set;
> 
>     /* Don't handle any signals on this thread */
>     sigfillset(&set);
>     pthread_sigmask(SIG_BLOCK, &set, NULL);

D'oh. Indeed, happy to be wrong there.

- ajax


More information about the xorg-devel mailing list