Adjustments for signal handling
Oswald Buddenhagen
ossi at kde.org
Thu Nov 27 17:41:58 GMT 2008
On Thu, Nov 27, 2008 at 05:00:04PM +0200, Thiago Macieira wrote:
> Oswald Buddenhagen wrote:
> >the qtimer won't help when the application blocks in an x call until a
> >network connection breakdown is noticed. this case cannot be serialized
> >properly. and _exit() cannot be used as-is, as we have an atexit()
> >function installed (to remove an entire directory). this would have to
> >be refactored accordingly.
>
> Won't the X11 library return if it's interrupted by a signal handler?
>
that would make them fail on sigchld and other non-fatal signals.
looking at the backend code, the traditional way to deal with it is
longjmp(). yay.
we could simply require xcb and make it all async ...
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Confusion, chaos, panic - my work here is done.
More information about the kde-core-devel
mailing list