C API, Extension manager and shutdown on AIX

I’m doing an Extension Manager function for AIX. I notice that there is no entry point for a Cleanup/shutdown routine. In Windows, there is the message DLL_PROCESS_DETACH that gets sent and you have a chance to clean up before shutdown. How can I get a similar chance in UNIX/AIX?

My intend is to Shutdown an MQ Queue manager when when domino is brought down.

Thanks for any help you can give me.

Subject: C API, Extension manager and shutdown on AIX

Hello,

i dont know the exact meaning of this EM notificaction, but i would try to handle EM_NSFDBCLOSESESSION.

HTH

Kuwe

Subject: RE: C API, Extension manager and shutdown on AIX

Kuwe, Thanks for the response. I looked into NSFDBCLOSESESSION, it occurs when a data base on a remote server is closed. I had planned to keep my resources (an Open MQ Connection and some Shared memory) available until Domino shuts down. I hoped to save some performance time by openning the Connection and setting some information upfront, so that the events I intercept do not incur that overhead and then freeing the resources at shutdown. It does not look like that is possible.

I was hoping someone would know of an event I could capture that would tell me domino is shutting down or any other way I could trigger my cleanup routines during shutdown.