httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <madhusudan_mathiha...@hp.com>
Subject RE: cvs commit: httpd-2.0/modules/ssl README mod_ssl.h ssl_engine _init.c ssl_util.c
Date Fri, 24 Aug 2001 07:01:35 GMT
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: dev@httpd.apache.org
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

Mime
View raw message