[PATCH 2/4] X event queue mutex

Daniel Stone daniel at fooishbar.org
Thu Oct 2 19:57:47 PDT 2008


On Thu, Oct 02, 2008 at 06:53:09PM -0700, Keith Packard wrote:
> On Fri, 2008-10-03 at 02:01 +0200, Simon Thum wrote:
> > (b) may suffice. Locking the queue in OsBlockSigs() should do it and fix 
> > most miEnqueue users.
> 
> Or just lock the queue in mieqEnqueue itself; keeping the lock near the
> code seems like a lot better plan to me.

Except if the lock is held across the entire event processing, because
we need to queue events from event processing.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20081003/10c86d0e/attachment.pgp>


More information about the xorg mailing list