Re: [AD] deadlock in 4.3.10plus svn

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


On Fri, 2008-12-26 at 14:02 +1100, Peter Wang wrote:
> On 2008-12-25, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> > 
> > A third option would be to use an XSync/XNextEvent loop instead of
> > XMaskEvent. It will eat up the few events until the MapNotify event
> > which haven't been processed yet by the background thread, but at least
> > works around the bug.
> 
> If it doesn't cause any trouble then just do that.
> 

Found a function called XCheckTypedEvent() and used that, so it should
work now in SVN just like before, except it's polling X11 in a while
loop instead of calling a blocking X11 function (which will never return
with this buggy X11 version I have right now).

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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