]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #17414 (pthreads bug workaround).
authorIlia Alshanetsky <iliaa@php.net>
Tue, 5 Aug 2003 20:05:17 +0000 (20:05 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 5 Aug 2003 20:05:17 +0000 (20:05 +0000)
NEWS
TSRM/TSRM.c

diff --git a/NEWS b/NEWS
index 670392530114f7033c52a9f35d788a2be39ffde3..1aa1de21fa7affc1c8b36b2d8854f2b171c25772 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ PHP 4                                                                      NEWS
 - Fixed bug #22072 (Apache2 sapis do not detect aborted connections). (Ilia)
 - Fixed bug #21611 (version_compare() does not support "p" as suffix).
   (Stefan Walk)
+- Fixed bug #17414 (pthreads bug workaround). (timo.teras[at]iki.fi)
 
 30 Jul 2003, Version 4.3.3RC2
 - Improved the NSAPI SAPI module (Uwe Schindler)
index 7f6ea1f232ee757c85da8c7e10ce00a9f6a59a3e..c9116222fb06aea44cf680f0e6724241fd2f8dca 100644 (file)
@@ -181,6 +181,7 @@ TSRM_API void tsrm_shutdown(void)
 #if defined(GNUPTH)
        pth_kill();
 #elif defined(PTHREADS)
+       pthread_setspecific(tls_key, 0);
        pthread_key_delete(tls_key);
 #elif defined(TSRM_WIN32)
        TlsFree(tls_key);