cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c

From: Date: Thu, 22 Dec 2005 16:46:33 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4480@lists.php.net to get a copy of this message
dmitry Thu Dec 22 16:46:33 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_execute_API.c Log: Fixed bug #35612 (iis6 Access Violation crash). (alacn dot uhahaa at gmail dot com) http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_execute_API.c?r1=1.287.2.28&r2=1.287.2.29&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.287.2.28 ZendEngine2/zend_execute_API.c:1.287.2.29 --- ZendEngine2/zend_execute_API.c:1.287.2.28 Fri Dec 9 18:11:03 2005 +++ ZendEngine2/zend_execute_API.c Thu Dec 22 16:46:32 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.287.2.28 2005/12/09 18:11:03 dmitry Exp $ */ +/* $Id: zend_execute_API.c,v 1.287.2.29 2005/12/22 16:46:32 dmitry Exp $ */ #include <stdio.h> #include <signal.h> @@ -1247,6 +1247,7 @@ } DestroyWindow(timeout_window); UnregisterClass(wc.lpszClassName, NULL); + SetEvent(timeout_thread_handle); return 0; } @@ -1254,7 +1255,8 @@ void zend_init_timeout_thread() { timeout_thread_event = CreateEvent(NULL, FALSE, FALSE, NULL); - timeout_thread_handle = _beginthreadex(NULL, 0, timeout_thread_proc, NULL, 0, &timeout_thread_id); + timeout_thread_handle = CreateEvent(NULL, FALSE, FALSE, NULL); + _beginthreadex(NULL, 0, timeout_thread_proc, NULL, 0, &timeout_thread_id); WaitForSingleObject(timeout_thread_event, INFINITE); }

« previous php.zend-engine.cvs (#4480) next »