Hi,

Thanks, that helps!

Since I am developing my modules in C++, I think I should be using this one:

apr_status_t apr_thread_data_set        (       void *           data,
                const char *    key,
                apr_status_t(*)(void *)         cleanup,
                apr_thread_t *          thread  
        )       

If I understand correctly, I can pass my own cleanup function (calling
"delete" to free memory) which is called automatically when the thread
is destroyed by the APR framework. Would that be the way, or am I
still misunderstanding something?

Thank you,
Andrej

Reply via email to