Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126681 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 qa.php.net (Postfix) with ESMTPS id B49471A00BC for ; Sun, 9 Mar 2025 21:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1741554911; bh=F2OnQ4D6V2ZyOFZ663x+RTT+sCJzLHaKUY7QfKEdCRs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Vp4NyJB3d1roNanuaK8nLd1V9ItfZMb+LtqhUUbcVNH2kQEPeh/vhjFssH2QXjNFW jbFpPFZIZLYR51BzC+QAkdlco36JRbbAcsdRE7nKpkkoibC0Twj40jlGg4BmWv3+qM IPWgcNvXLiq1dMsm78hpUL9cQDmHpTU2y3xey++hmUIE4jevDjdqZkDngHZCq6zDmX Q+Ru5K1FkIMp4ywNBfczOTiefLdlqrmUYAhmVDuX79mOrrNT5aklhkIXFq8O5wPtBe hG7VqDjDi6NLNy2vyhn1zHQ+TM3tKuzAKC4Vn9KEsISd1GleqAxK4R/qYSFDFmKTmZ RLgaxPd922EPQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6BAF01801DD for ; Sun, 9 Mar 2025 21:15:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 9 Mar 2025 21:15:11 +0000 (UTC) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-e549be93d5eso3100793276.1 for ; Sun, 09 Mar 2025 14:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741555065; x=1742159865; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=paDRFrtqgViucHz6z8ANSPMBQa8MDmM0IniIxFOOEI8=; b=i47ZCuZj7DgfZ7hT24yS0giqrNiTviZaAr/eVfrjL6CeOH+D3YLt3/QovDx2Yn+2np KBQTmtrxrrVWJQLNvu1AorcaYckBLWhi9seB0i4iRCmFHV2yQwB3CkdHWdlyDc2bzASm chw6WRj5O2oIOOHrgSilTANFvwrppxZ+SXEJ3XnskT07ocLTofPtutfz0xqUs62h9Czi jFNv7k6/ZYcPUHOxGr4Zd9TWbPd1GHqy+h3JpND/pr3p22whAe4UQJBb8K3DkOqQB3Ad ljEvqeGGiFHPo66GHfL3nSYRVtLZQ2nFI/Wds4vs2I1hW5AtNPk2DEgcdUCKgXa/Ou/8 FG6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741555065; x=1742159865; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=paDRFrtqgViucHz6z8ANSPMBQa8MDmM0IniIxFOOEI8=; b=VVCu4mohCc0tkszWqwYP/WQ7fdxjoboSY3ul7qO7D3s/+ToBrmUqboZVw9WLUwt2uu NDgEsshOE03pXksDiWJlSCEVq7Eeat23ajS/0aorBS4/9kECXRoNUKMrlHoaYHymYUOo fBa7+kDtO+27NbgzK2Pv51jOMgxOgAIdzT+kZukZXHHXXJ6lhldYTF8+YcN/vwOT+z3d Gukwi0bOdjvdkITsGWjhjbyngb1JhJp9xu7sBLIDy0W49otE4Btjmw5UjI7ctQrglfRW 1RvV3wDO4BzKDIWzHyH5Yw1tCB+A4zutwA9c8m0poZ3OLHoPZc5Nh+GKnUOfq8NPLuG8 1fig== X-Forwarded-Encrypted: i=1; AJvYcCVdtU9IhumttFW4o3WOXgmKM2RDbINPfN4Q8xWpIEC12ZuvWUhA2UmJIEfjqpPV3KpR+fyoztdFpoo=@lists.php.net X-Gm-Message-State: AOJu0YyM/qVbAYMbeAyoCnkWvBjJLhN9UC3ndvSq7dRZGgqdV/6DmVYB erw5Jl8jf/WTto1Br+ScddZMUl8GC7q3PB9XNGilpdSXMX3O/Ucjpii2m69ealCk5wZR00NQDh8 l1Ab9vzAuBtECcJEM2HeoZCNtVj3X6LAT X-Gm-Gg: ASbGncs6CluYK9plQ9QzemZqpgrLOs5dW+eCzUmV+QRrhs3rynzpXvM5t3KEleeK5sU TcLhZpIdWowF9mX8pbp3n/tDJhO3vVDlhpo56IPJvyii/au8M2FWtiLrVq33LcnM1AMT4bXaaX0 9hn0Rsz6lE45irUW7Dkd4rFDxIaA== X-Google-Smtp-Source: AGHT+IFgpAlQfADwF+uCTlOQtzyepcCtJbJAmkySiEeFZM199mQW9jTAOaCz5dP8o8unvL1XkCp5wDwPtOROO6btzf0= X-Received: by 2002:a05:6902:2404:b0:e60:a6a0:f5b4 with SMTP id 3f1490d57ef6-e635c0f8065mr15122939276.9.1741555064875; Sun, 09 Mar 2025 14:17:44 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <1b6a5b3b-be9b-4e46-9cc6-b8b7f57b8494@app.fastmail.com> In-Reply-To: Date: Sun, 9 Mar 2025 23:17:33 +0200 X-Gm-Features: AQ5f1Jotx_Z24w0NGArz-06UUIlr9y33tkmVzp0eiHl8mjOkKNIQSHhoJIwfE1k Message-ID: Subject: Re: [PHP-DEV] Re: PHP True Async RFC To: Iliya Miroslavov Iliev Cc: "Rowan Tommins [IMSoP]" , php internals Content-Type: multipart/alternative; boundary="000000000000ffb169062fef62cf" From: edmond.ht@gmail.com (Edmond Dantes) --000000000000ffb169062fef62cf Content-Type: text/plain; charset="UTF-8" > Edmond, > .... > If you want to make async PHP with multiple processes you have to check > variables semaphored to make it work. > > Hello, Iliya. Thank you for your feedback. I'm not sure if I fully understood the entire context. But. At the moment, I have no intention of adding multitasking to PHP in the same way it works in Go. Therefore, code will not require synchronization. The current RFC proposes adding only asynchronous execution. That means each thread will have its own event loop, its own memory, and its own coroutines. P.s. I know also Russian and a bit asm. Ed. > > --000000000000ffb169062fef62cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Edmond,
....
If you want to make async= PHP with multiple processes you have to check variables semaphored to make= it work.


Hello, Iliya.=C2=A0

Thank you for your feedback. I'm not sure if I fully understood = the entire context. But.

At the moment, I have no intention of adding multitasking to PHP in the sa= me way it works in Go.=C2=A0

Therefore, code will not require synchronization. The current RFC prop= oses adding only asynchronous execution. That means each thread will have i= ts own event loop, its own memory, and its own coroutines.

P.s.=C2=A0 I know also Russian and a bit= asm.
Ed.

=
--000000000000ffb169062fef62cf--