24 #include <libComAPI.h> 70 #define epicsAtExit(F,A) epicsAtExit3(F,A,#F) LIBCOM_API void epicsExit(int status)
Calls epicsExitCallAtExits(), then the OS exit() routine.
LIBCOM_API void epicsExitCallAtThreadExits(void)
Internal routine that runs the registered thread exit routines.
LIBCOM_API int epicsAtExit3(epicsExitFunc func, void *arg, const char *name)
Register a function and an associated context parameter.
LIBCOM_API void epicsExitLater(int status)
Arrange to call epicsExit() later from a low priority thread.
void(* epicsExitFunc)(void *arg)
Pointer to a callback function that is to be called by the epicsExit subsystem.
LIBCOM_API void epicsExitCallAtExits(void)
Internal routine that runs the registered exit routines.
LIBCOM_API int epicsAtThreadExit(epicsExitFunc func, void *arg)
Register a function and an context value to be run by this thread when it returns from its entry rout...