SAPI threadsafe?
| From: | Aaron Bannert | Date: | Wed, 10 Apr 2002 18:19:32 +0000 |
| Subject: | SAPI threadsafe? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-82490@lists.php.net to get a copy of this message | ||
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