static void FX::FXProcess::addFatalExitUpcall ( FatalExitUpcallSpec  upcallv  )  [static]

Registers code to be called when a process exits, even from a hard error such as segmentation fault. The form of the code is:

    void function(bool);
    void Object::member(bool);
The parameter is true when the exit is fatal, false if the exit is normal. As this may be called in the context of a signal, do not do anything involved at all. If you want to get called on normal process exit, consider atexit() or FX::FXProcess_StaticInit.


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:40 2009 for TnFOX by doxygen v1.4.7