Any interest/objections to added another MPM query>
AP_MPMQ_IDLE_WORKERS
(or some other name)
in worker.c, could just add this to ap_mpm_query:
case AP_MPMQ_IDLE_WORKERS:
*result = ap_idle_thread_count;
return APR_SUCCESS;
and in perform_idle_server_maintenance we would update ap_idle_thread_count.
I can submit a patch if anyone thinks this has a chance of being committed.
--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies
