Re: SAPI threadsafe?
| From: | Rasmus Lerdorf | Date: | Wed, 10 Apr 2002 17:22:51 +0000 |
| Subject: | Re: SAPI threadsafe? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82493@lists.php.net to get a copy of this message | ||
You are missing all the TSRM stuff. Look through TSRM/TSRM.h
-Rasmus
On Wed, 10 Apr 2002, Aaron Bannert wrote:
> I'm working with the apache2filter against Apache 2.0.35 and I want to
> figure out how to ensure thread safety. It seems to me that much of the
> request data is set up in the SG(request_info), which appears to be a
> global variable. Please correct me if I'm wrong (I'm hoping I'm wrong
> here and it's threadsafe already :).
>
> OTOH, I see that the nsapi.c implementation isn't using any
> obvious mutexes, but it is using the SG(request_info) in the same
> way. What am I missing?
>
> -aaron
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>