From: Dmitry Stogov Date: Thu, 25 May 2006 07:23:38 +0000 (+0000) Subject: Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on... X-Git-Tag: BEFORE_NEW_OUTPUT_API~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e59bc4d8914e0c3ed52e932ec894c69afb10fc2;p=php Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index dc69bd5bb1..66739fe392 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1446,6 +1446,7 @@ void zend_shutdown_timeout_thread() /* Wait for thread termination */ WaitForSingleObject(timeout_thread_handle, 5000); CloseHandle(timeout_thread_handle); + timeout_thread_initialized = 0; } #endif