New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=93cc4a55b46ce0756dad65922f4d1716a7944a76
commit 93cc4a55b46ce0756dad65922f4d1716a7944a76
Author: Marek Pikarski <[email protected]>
Date: Wed Apr 4 11:42:02 2012 +0200
core: implemented clean shutdown
The registered signal handler is the first one which destroys the core.
All pending flux calls wait until core is destroyed before returning
DFB_DEAD.
src/core/CoreDFB_CallMode.h | 13 +++++++++++--
src/core/core.c | 19 +++++++++++++------
src/core/core.h | 2 ++
3 files changed, 26 insertions(+), 8 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=0a430500f0c9bb52c3c3fc36a7bd574eb79ef73e
commit 0a430500f0c9bb52c3c3fc36a7bd574eb79ef73e
Author: Marek Pikarski <[email protected]>
Date: Wed Apr 4 11:35:29 2012 +0200
direct: reworked signal handling
Created threads block all signals by default.
Added an extra thread dedicated for asynchronous signal processing.
This is the only thread which catches and processes signals.
The changes were needed for a synchronous and clean application shutdown.
lib/direct/signals.c | 145 +++++++++++++++++--------------------------------
1 files changed, 50 insertions(+), 95 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs