Re: [AD] X11 unresponsiveness

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


On Tuesday 13 July 2004 15:25, Elias Pschernig wrote:
> Well, the patch works perfectly here so far. I'm only concerned about
> possible race conditions. A signal can interrupt at any place, even
> inside a C instructions. And with that in mind, using a simple lock
> variable like we do with the signals driver isn't 100% safe. (We would
> need to disable signals, use some special software-mutex-construct, or
> rely on asm support, to be on the safe side.)

Indeed it isn't. The demo program crashes for me with Xlib complaining 
about an asynchronous call or somesuch...

Evert





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