I just built and compiled using the prefork model (without wrapping of the
APR_HAS_THREADS - and it works !!..

The ssl_util_thr_id() will be registered only if the MPM is threaded.
However, the symbol apr_os_thread_current is available in libapr.a  -
irrespective of threaded / prefork model !!!..

Did I miss something ?.. 

Thanks
-Madhu


-----Original Message-----
From: Justin Erenkrantz
To: [EMAIL PROTECTED]
Cc: 'Doug MacEachern '
Sent: 8/23/01 11:34 PM
Subject: Re: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine
_init.c ssl_util.c

On Thu, Aug 23, 2001 at 11:15:44PM -0700, MATHIHALLI,MADHUSUDAN
(HP-Cupertino,ex1) wrote:
> +static unsigned long ssl_util_thr_id()
> +{
> +    return (unsigned long) apr_os_thread_current();
> +}
> +

This needs to be protected by #if APR_HAS_THREADS.  -- justin

Reply via email to