On Sat, 9 Feb 2002, Garold Scantlen wrote:
> I'm using 4.1.0
> I'm calling XDrawPoint inside a SIGALRM handler
> If I do extensive XDraws in main app. while processing SIGALRM
> I get a lockup, not a crash or exit, just seems busy running endless loop.
> I found no info. stating XDraws were not to be called in sinal handlers.
> Is this the case or should I keep debugging ?
>
There is a protocol stream. If the app is putting commands into
the stream and a signal interrupts it and the single handler puts
commands into the stream, this is an error. You cannot do this.
If you really need to draw something from the signal handler
you should use a separate display connection to do that so that
it doesn't trash the other one.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert