lib/fusion/reactor.c |  182 ++++++++++++++++++++++++++++++++++++++------------
 lib/fusion/reactor.h |    2 +-
 2 files changed, 141 insertions(+), 43 deletions(-)

New commits:
commit 330450df944b491bef4d0c49f8567f8f3cc41be9
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date:   Sat Mar 24 12:25:11 2007 +0100

    Fix general dead lock problem with reactors.
    
    - Replace mutex by read/write lock.
    - Write lock during attach/detach()
    - Read lock during dispatch()
    - Only remove reactions from node if write lock is held.
    - Don't link reactions into the node, but allocate an extra link structure, 
to avoid accessing foreign and probably deallocated memory.
    - In dispatch() if reaction returns RS_REMOVE, just mark the link as dead 
and don't write to reaction structure, which might be deallocated by the 
reaction handler.
    - More changes, even more details...


_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to