apr_status_t Worker_RequestPrivateCleanup()

in src/mod_rivet_ng/rivet_worker_mpm.c [546:559]


apr_status_t Worker_RequestPrivateCleanup (void *client_data)
{
    handler_private* req_private = (handler_private*)client_data;

    apr_thread_cond_destroy(req_private->cond);
    apr_thread_mutex_destroy(req_private->mutex);
    ap_log_error(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, module_globals->server,
                 MODNAME ": request thread private data released");

    /* we have to invalidate the data pointer */
    // apr_threadkey_private_set (NULL,handler_thread_key);

    return APR_SUCCESS;
}