CVS update: php31/sapi
| From: | shane | Date: | Fri, 28 Aug 1998 20:40:32 +0000 |
| Subject: | CVS update: php31/sapi | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-648@lists.php.net to get a copy of this message | ||
Date: Friday August 28, 1998 @ 16:40
Author: shane
Update of /repository/php31/sapi
In directory asf:/u2/tmp/cvs-serv14507/sapi
Modified Files:
apache_sapi.c isapi_sapi.c nsapi_sapi.c wsapi_sapi.c
Log Message:
some comments
Index: php31/sapi/apache_sapi.c
diff -c php31/sapi/apache_sapi.c:2.14 php31/sapi/apache_sapi.c:2.15
*** php31/sapi/apache_sapi.c:2.14 Fri Aug 28 16:35:42 1998
--- php31/sapi/apache_sapi.c Fri Aug 28 16:40:30 1998
***************
*** 592,597 ****
--- 592,602 ----
return TRUE;
break;
case DLL_THREAD_DETACH:
+ /*yes, we do still have to call this, just in case, as there is
+ no other way to do it (that I know of). This function checks to
+ see if tls vars have been allocated for this thread, and if not,
+ returns without doing anything, thus, hopefuly, avoiding any
+ problems when we encounter the above issue. */
return _php3_sapi_thread_end();
break;
case DLL_PROCESS_DETACH:
Index: php31/sapi/isapi_sapi.c
diff -c php31/sapi/isapi_sapi.c:2.18 php31/sapi/isapi_sapi.c:2.19
*** php31/sapi/isapi_sapi.c:2.18 Fri Aug 28 16:35:43 1998
--- php31/sapi/isapi_sapi.c Fri Aug 28 16:40:31 1998
***************
*** 558,563 ****
--- 558,568 ----
return TRUE;
break;
case DLL_THREAD_DETACH:
+ /*yes, we do still have to call this, just in case, as there is
+ no other way to do it (that I know of). This function checks to
+ see if tls vars have been allocated for this thread, and if not,
+ returns without doing anything, thus, hopefuly, avoiding any
+ problems when we encounter the above issue. */
return _php3_sapi_thread_end();
break;
case DLL_PROCESS_DETACH:
Index: php31/sapi/nsapi_sapi.c
diff -c php31/sapi/nsapi_sapi.c:2.9 php31/sapi/nsapi_sapi.c:2.10
*** php31/sapi/nsapi_sapi.c:2.9 Fri Aug 28 16:35:43 1998
--- php31/sapi/nsapi_sapi.c Fri Aug 28 16:40:31 1998
***************
*** 675,680 ****
--- 675,685 ----
return TRUE;
break;
case DLL_THREAD_DETACH:
+ /*yes, we do still have to call this, just in case, as there is
+ no other way to do it (that I know of). This function checks to
+ see if tls vars have been allocated for this thread, and if not,
+ returns without doing anything, thus, hopefuly, avoiding any
+ problems when we encounter the above issue. */
return _php3_sapi_thread_end();
break;
case DLL_PROCESS_DETACH:
Index: php31/sapi/wsapi_sapi.c
diff -c php31/sapi/wsapi_sapi.c:2.6 php31/sapi/wsapi_sapi.c:2.7
*** php31/sapi/wsapi_sapi.c:2.6 Fri Aug 28 16:35:43 1998
--- php31/sapi/wsapi_sapi.c Fri Aug 28 16:40:32 1998
***************
*** 502,507 ****
--- 502,512 ----
return TRUE;
break;
case DLL_THREAD_DETACH:
+ /*yes, we do still have to call this, just in case, as there is
+ no other way to do it (that I know of). This function checks to
+ see if tls vars have been allocated for this thread, and if not,
+ returns without doing anything, thus, hopefuly, avoiding any
+ problems when we encounter the above issue. */
return _php3_sapi_thread_end();
break;
case DLL_PROCESS_DETACH:
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net