Re: Re: PHP True Async RFC Stage 5

From: Date: Fri, 07 Nov 2025 10:06:28 +0000
Subject: Re: Re: PHP True Async RFC Stage 5
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-129129@lists.php.net to get a copy of this message
I also want to note another possible case: “cancellation after cancellation,” which is not yet implemented. The Scheduler API forbids canceling a coroutine twice. However, the Scheduler itself has the right to do so and may use it in a critical situation when it must urgently cancel all coroutines, even those that were already canceled. This is a rough approach, so the cancellation code might expect certain conditions, but it is highly likely to be used in situations such as DeadLock or similar cases. --- Best Regards, Ed

« previous php.internals (#129129) next »