Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129254 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 1A7B91A00BC for ; Sun, 16 Nov 2025 00:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763252888; bh=xliI4dqsF3YuDona7NcYBXz0jZ1jOtwHzroi4zZCYmA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Oz6aFy+O+zy4HSjV7fZCgcgYzCRe6x9LutuoL7HaRXIz9HQOOYRTOTRM0KUGeQ92G KaEpqwHICb2dqYP6mENqKz89alt1PAze9lfLE6tGzaTKEyYRoYuseeBivSH6FgVz/e jOBbOrzLwPfMPVueJv1qxTwiy4+Ufn38cPg9Hy+px4CTCc51A4d8Qop6UO1StGKksE lMM/TDRofxxYD46oYPAFyO5tFhxhKAYUMBg9mxEhsFwcBp4BT5NUFkeDW786JbDQUO +RWrwcfxEMDA7dhac39PFW3V4pTFrAFlEyqc49Y2N8Ecs17xtOa00DR2SfPqaXxfex K2spVy9tn0nfQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C11181801D8 for ; Sun, 16 Nov 2025 00:28:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chuck.smtp.mailx.hosts.net.nz (chuck.smtp.mailx.hosts.net.nz [43.245.52.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 16 Nov 2025 00:28:03 +0000 (UTC) Received: from 122-57-27-239-adsl.sparkbb.co.nz ([122.57.27.239] helo=[192.168.1.67]) by chuck.smtp.mailx.hosts.net.nz with esmtpsa authed as varteg.nz (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.96) (envelope-from ) id 1vKQcV-00AiF5-1L for internals@lists.php.net; Sun, 16 Nov 2025 13:27:55 +1300 Message-ID: <57cb314b-f707-48f1-a386-e79786de3990@varteg.nz> Date: Sun, 16 Nov 2025 13:27:48 +1300 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Re: PHP True Async RFC Stage 5 To: internals@lists.php.net References: <6618a91c-5393-4f40-88b5-b5041ee09deb@app.fastmail.com> <3e0cf0a1-c1a3-4e05-97ba-0eeb7f559a53@app.fastmail.com> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Hosts-DKIM-Check: none From: weedpacket@varteg.nz (Morgan) On 2025-11-16 04:21, Edmond Dantes wrote: > > RFC: "A coroutine can stop itself passing control to the scheduler. > However, it cannot be stopped externally." > > which essentially means the same thing. > Oh ... there's an ambiguity in that line. "I'm now going to pass control to the scheduler ... no, no I won't; that's exactly what they'll be expecting me to do." I suggest rewriting the sentence as: "A coroutine can stop itself and pass control to the scheduler." or "A coroutine can stop itself, passing control to the scheduler."