cvs: ZendEngine2 / zend_execute_API.c

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