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

Keith Packard keithp at keithp.com
Tue Jun 7 23:23:12 UTC 2016


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);

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160607/8e09521f/attachment.sig>


More information about the xorg-devel mailing list