Re: [AD] XIM patch for Allegro 4.1.x

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tuesday 26 October 2004 19:57, Elias Pschernig wrote:
> Yes, I also believe it will be fixed in future X11 versions. But as I
> said, I doubt those 4 examples I mentioned are all wrong. And so far, I
> see no indication that XLock is better than a simple pthreads mutex.
> There's no other way than replacing it anyway, if we want t use XIM. If
> there are problems with the locking, then we should wait with including
> XIM until they fix the XLock issue of course. But if pthreads locking
> works, I see no problem doing like the other mentioned X11 programs.

What I gathered from a manpage I dug up on google is that you don't need to 
bother with XLock if you already use mutexes to prevent several threads 
from accesing X at the same time. In other words, your code should be good 
according to the manpage.

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/