From 26ccde4da9fb2522755bdb5bc311dba2f0d7980e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 25 May 2006 07:46:25 +0000 Subject: [PATCH] Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) --- NEWS | 2 ++ Zend/zend_execute_API.c | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index f5a1d662b0..64713291f2 100644 --- a/NEWS +++ b/NEWS @@ -47,6 +47,8 @@ PHP NEWS - Fixed bug #37565 (Using reflection::export with simplexml causing a crash). (Marcus) - Fixed bug #37563 (array_key_exists performance is poor for &$array). (Ilia) +- Fixed bug #37558 (timeout functionality doesn't work after a second PHP + starup on the same thread). (p dot desarnaud at wanadoo dot fr) - Fixed bug #37514 (strtotime doesn't assume year correctly). (Derick) - Fixed bug #37510 (session_regenerate_id changes session_id() even on failure). (Hannes) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 2d0f35eebf..7b9f141775 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -1332,6 +1332,7 @@ void zend_shutdown_timeout_thread() /* Wait for thread termination */ WaitForSingleObject(timeout_thread_handle, 5000); CloseHandle(timeout_thread_handle); + timeout_thread_initialized = 0; } #endif -- 2.40.0