At 07:00 AM 8/22/2005, Nick Kew wrote: >On Monday 22 August 2005 12:13, Joe Orton wrote: >> >> What's really needed is a feature-detection API along with the ENOTIMPL >> stubs. >> >> if (apr_has_feature(APR_FEATURE_THREADS)) >> /* create mutex */
FYI that only tells you that APR SUPPORTS threads(!) It's almost always the wrong decision, e.g. in httpd - we have ap_mpm_query() which tells us if the MPM is actually threading. Bill
