Re: Help: How to call function on Apache quitA

2008-01-09 Thread Erik Lotspeich
Hi Nick, I continued some testing and it seems that the pool cleanup mechanism does not work. Here's my cleanup register call: apr_pool_cleanup_register(s-process-pool, mydata, proc_cleanup, apr_pool_cleanup_null); My cleanup function, proc_cleanup()

Re: Help: How to call function on Apache quitA

2007-11-15 Thread Nick Kew
On Thu, 15 Nov 2007 00:15:17 -0800 (PST) Erik Lotspeich [EMAIL PROTECTED] wrote: The basic question is: how to execute code when Apache quits. Register a cleanup function on the process pool. -- Nick Kew Application Development with Apache - the Apache Modules Book

Re: Help: How to call function on Apache quitA

2007-11-15 Thread Erik Lotspeich
Hi Nick, Thank you for your response. I tried this approach initially. I may have been using it incorrectly, however. What I tried was setting up the cleanup function with the process pool itself as data. The reason for this is that I wanted to retrieve some data via