Re: PHP True Async RFC - Stage 2
| From: | Edmond Dantes | Date: | Thu, 20 Mar 2025 18:42:44 +0000 |
| Subject: | Re: PHP True Async RFC - Stage 2 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126876@lists.php.net to get a copy of this message | ||
>
> Nitpick to make sure we're talking about the same thing: What does
"Separate execution context" mean here? Because a keyword whose
description includes "and" is always a yellow flag at least.
>
At the language abstraction level, we can say that spawn performs a single
operation: it creates an execution context. In this case, the *execution
context* is a low-level term that refers to the combination of processor
register states and the call stack (as well as the state of the Zend
engine).