[PATCH 1/1] dix: Silence TSan warnings when checking for pending input

Keith Packard keithp at keithp.com
Thu Sep 22 07:22:35 UTC 2016


Jeremy Huddleston Sequoia <jeremyhu at apple.com> writes:

> +static inline _X_NOTSAN Bool
> +InputCheckPending(void)
> +{
> +    return (*checkForInput[0] != *checkForInput[1]);
> +}

> +static inline _X_NOTSAN Bool
> +InputCheckPending(void)
> +{
> +    return (*checkForInput[0] != *checkForInput[1]);
> +}

You should stick this in dix.h, or some other suitable header
file.

Otherwise, this looks good.

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


More information about the xorg-devel mailing list