[PATCH RFC xserver] os: Add a mutex to protect io buffers

Keith Packard keithp at keithp.com
Thu Feb 23 05:57:45 UTC 2017


Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> Should WriteToClient() have something like
> 	assert(pthread_self() == mainThread)
> added to help catch things like that?

Should at least be a debug option...

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


More information about the xorg-devel mailing list