这是由用户出口库(.lel)导出的实施函数。卸载 .lel 前将调用它,这通常发生在执行组进程停止时。调用此函数时,用户代码应该清除调用 bipInitializeUserExits 函数时分配的所有资源。如果没有导出此函数,则无法装入 .lel。调用 bipTerminateUserExits 期间,调用任何实用程序函数都是无效的。在与 bipInitializeUserExits 相同的线程上调用此函数。
void bipTerminateUserExits()
无。
extern "C"{ void bipTerminateUserExits(){ /*Here, we clean up any resources, e.g. spawned threads, file handles, sockets */ freeResources(); } }/*end of extern "C" */