[PATCH 2/4] We need mutex because the X event queue is a critical region

Adam Jackson ajax at nwnk.net
Mon Sep 8 08:19:03 PDT 2008

On Sat, 2008-09-06 at 17:34 +0100, Tiago Vignatti wrote:

> +#ifdef INPUT_THREAD
> +/* A mutex protecting the mi queue when the input thread is enabled
> */
> +xmutex_t miEventQueueMutex;
> +#endif
> +

What's the reason for using the xthreads wrappers here, given that
inputthread.c is written straight to pthreads?

Not that I really object to requiring pthreads, just aiming for

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20080908/948d14ca/attachment.pgp>

More information about the xorg mailing list