summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-16 14:27:28 +0000
committerZeev Suraski <zeev@php.net>2000-06-16 14:27:28 +0000
commit84eb48f0a1fd0a8be0f09ad3b77697922d2b5bfb (patch)
treeb414a535f91f70602b6e9bc29e82bab898306232 /Zend/zend_execute.h
parent43d91224f6f54476b714eca50bd7caddb1d99ffd (diff)
downloadphp-git-84eb48f0a1fd0a8be0f09ad3b77697922d2b5bfb.tar.gz
Ok, this time here's some real Win32 system programming :)
Redesigned the timeout system using a single timeout thread and a single window, and used a much quicker check.
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index ec7dc39ea4..553c694ba5 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -157,10 +157,13 @@ ZEND_API zend_bool zend_is_executing(void);
void zend_set_timeout(long seconds);
void zend_unset_timeout(void);
+void zend_timeout(int dummy);
+
#ifdef ZEND_WIN32
-void zend_register_timeout_wndclass(void);
-void zend_create_timeout_window(ELS_D);
-void zend_destroy_timeout_window(ELS_D);
+void zend_init_timeout_thread();
+void zend_shutdown_timeout_thread();
+#define WM_REGISTER_ZEND_TIMEOUT (WM_USER+1)
+#define WM_UNREGISTER_ZEND_TIMEOUT (WM_USER+2)
#endif
#define zendi_zval_copy_ctor(p) zval_copy_ctor(&(p))