cvs: ZendEngine2(PHP_5_1) / zend_execute_API.c

From: Date: Thu, 22 Dec 2005 16:46:15 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4479@lists.php.net to get a copy of this message
dmitry Thu Dec 22 16:46:15 2005 EDT Modified files: (Branch: PHP_5_1) /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.331.2.9&r2=1.331.2.10&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.331.2.9 ZendEngine2/zend_execute_API.c:1.331.2.10 --- ZendEngine2/zend_execute_API.c:1.331.2.9 Tue Dec 20 11:25:34 2005 +++ ZendEngine2/zend_execute_API.c Thu Dec 22 16:46:15 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.331.2.9 2005/12/20 11:25:34 tony2001 Exp $ */ +/* $Id: zend_execute_API.c,v 1.331.2.10 2005/12/22 16:46:15 dmitry Exp $ */ #include <stdio.h> #include <signal.h> @@ -1284,6 +1284,7 @@ } DestroyWindow(timeout_window); UnregisterClass(wc.lpszClassName, NULL); + SetEvent(timeout_thread_handle); return 0; } @@ -1291,7 +1292,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 (#4479) next »