[PATCH 2/4] X event queue mutex
keithp at keithp.com
Mon Oct 6 21:40:39 PDT 2008
On Tue, 2008-10-07 at 00:45 -0300, Tiago Vignatti wrote:
> The following patch assert the order of events enqueued with a mutex
> protecting writes to the tail pointer in mieqEnqueue. If the main thread
> blocks somehow, the input thread continues doing its job. All
> mieqEnqueue users must be safe now.
That looks fine to me, except that our coding style doesn't allow
statements and declarations to be interleaved.
> I really don't know how to check if a CPU is visible to the other CPU.
The question is whether writes to memory from one CPU will be visible to
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the xorg