Re: Switching max_execution_time from CPU time to wall-clock time and from SIGPROF to SIGALRM
| From: | Kévin Dunglas | Date: | Tue, 21 May 2024 15:53:27 +0000 |
| Subject: | Re: Switching max_execution_time from CPU time to wall-clock time and from SIGPROF to SIGALRM | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123382@lists.php.net to get a copy of this message | ||
Hello,
I'm in favor of merging Arnaud's patch for macOS while waiting for a better
solution like relying on Grand Central Dispatch or another non-signal-based
solution (https://github.com/php/php-src/pull/13468), which would allow
max_execution_time to work with ZTS builds on mac as well.
I'm also in favor of using wall-clock time wherever possible (disclaimer:
I'm the original author of this feature for Linux and FreeBSD).
Best,