1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00
Anatol Belski 3affc0e8a2 Fixed bug #68583 Crash in timeout thread
This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thread pool. A timer queue timer is a lightweight object handled
but that thread pool and the timer thread spends most of the time
sleeping and waiting for an alert.

Please note also that this introduces neither binary nor source
breach. The custom timeout thread functions are deleted, however
they was not exported throug DLL, so couldn't be used by any
external code. As well they couldn't be used anywhere in the core
except in executor api, because those custom timeout thread
functions they used to operate on static variables which would
be overwritten (and that would blow).

So instead a relatively modern technique is used for the timeout
handling. It's still not perfect because the executor still has to
check EX(timed_out). This can be a topic for an improvement in
master. But brobably can be tricky as currently it seems to be not
possible to signal an individual thread. Also note another issue
that static variables aren't thread safe, but the current timer
implementation is.
2014-12-12 10:43:31 +01:00
2014-12-10 13:19:51 +01:00
2014-01-03 11:06:16 +08:00
2010-04-26 23:53:30 +00:00
2014-12-01 14:40:35 +01:00
2014-12-04 00:13:38 +01:00
2014-02-24 10:12:50 +01:00
2014-11-26 08:33:06 +01:00
2012-10-02 00:02:08 +08:00
2014-12-04 00:13:38 +01:00
2013-02-26 14:35:47 +01:00
2014-11-26 11:31:58 +01:00
2014-10-08 21:48:44 +04:00
2014-06-16 23:27:45 +03:00
2014-06-18 00:11:55 +03:00
2009-11-23 21:53:30 +00:00
2014-01-21 13:25:23 -08:00
2004-02-08 22:49:47 +00:00
2014-12-12 10:43:31 +01:00
2014-11-23 16:13:44 -08:00
2014-11-23 16:13:44 -08:00
2014-01-26 17:20:12 -08:00
MFH
2008-01-17 14:38:16 +00:00
2013-10-27 16:40:37 -07:00
2014-06-05 17:45:22 +02:00
2014-08-17 15:44:02 +03:00
2009-07-13 16:10:29 +00:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailinglist internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

Guidelines for contributors

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme 942 MiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%