On Sun, 2008-03-02 at 09:00 -0500, Jason Tackaberry wrote:
> SIGINT isn't something kaa should be doing. If you want to restore the
> SIGINT handler after you import directfb (and directfb actually is
> replacing that handler), you can do:
>
> import signal
> signal.signal(signal.SIGINT, signal.default_int_handler)
I should add that if you do this, you will need to see what sort of
cleanup dfb's SIGINT handler is doing, and make sure that happens if you
decide to exit. You could fetch the existing handler and then call it
later.
import signal
dfb_handler = signal.gethandler(signal.SIGINT)
signal.signal(signal.SIGINT, signal.default_int_handler)
kaa.main()
dfb_handler()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel