Callbacks

From: Michael Klemm (michael.klemm_at_informatik.uni-erlangen.de)
Date: Tue Feb 22 2005 - 07:16:15 PST

  • Next message: Ulisses: "Re: Callbacks"
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    Hi there!
    
    Playing around with BLCR I found that one can only register a callback
    which will be called whenever a checkpoint is requested. Thus, an
    application is supposed to be able to shutdown sockets, close files, etc.
    
    I was wondering why there is no "restart" callback which is invoked
    whenever a checkpoint returns. A closed socket has to be reopened
    somehow. The easiest way: register a restart callback that is able to
    re-establish a particular set of sockets, re-open some files, etc.
    
    The only idea (for now) to solve this problem is some kind of global
    variable that is checked each time a socket connection (or file, ...) is
    used to be able to re-open the descriptor right before the access
    occurs... I'm I right?
    
    Maybe one can see this as some form of "feature request" :-)
    
    Regards
    	-michael
    
    - --
    Computer Science Department 2, University of Erlangen-Nuremberg
    Martensstrasse 3, D-91058 Erlangen, Germany
    phone: ++49 (0)9131 85-28995, fax: ++49 (0)9131 85-28809
    web: http://www2.informatik.uni-erlangen.de/~klemm
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
    
    iD8DBQFCG0y/WEu1syWqdn0RArLHAJ4oFPlMEdy7AzDkieWYvyUj25HZVACeIpoy
    WKkd4/rTCJ912M59kBEW/w8=
    =kwBn
    -----END PGP SIGNATURE-----
    

  • Next message: Ulisses: "Re: Callbacks"