Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126877 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 42F6D1A00BC for ; Thu, 20 Mar 2025 19:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1742498576; bh=hTHJ7NLci5IZCpvlWwcSpf9eMWOb1mEefSbiVsC9M7w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XxXH7c+9RHtXnAsC5pQ/3wVjsKhJLIwM/oAaSi/O3TsCZbGU6EKi52AWUb5zNifzo 55Q1oE9FIxtFkqj8iM0AeOt9LnnPKzK+xU69gDJGKZ54L+/7P7wv7RDijBs489z/bN fNPpbyAjp+wdBPDKOE05cKjxD4KJVpLBI52NnRRV1kG7LZFqOboHYTgcWb+VH02K9S jt2kD5DGZbH17UHQhrZEjxkMRJrw7TePrXzBoZqgcX8SAdIxSSDQXL/6HzkvF4a6Rh 2S5hslGyhoPO9MUoxATHkcuU8rKIfgjgOe4q68g1GCv8dJIMOajijRhV+uNhyqx34N /WYXNB/JMEHuQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 764C8180088 for ; Thu, 20 Mar 2025 19:22:55 +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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 ; Thu, 20 Mar 2025 19:22:55 +0000 (UTC) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2ff799d99dcso1958721a91.1 for ; Thu, 20 Mar 2025 12:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742498725; x=1743103525; 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=ZX/9JK1LhO46fIqb8F9EjRgvEOuUIJFUCTu6T1s0Nrc=; b=Gqkjf64gPMvcSQwyTWMxULr6wjJ8UvC+zZHHLSvoz62px3h8vcShOjHkk0h8RxSh8C MNHkdUZJMQhXClXDAOH1qR4qrHCcT6f93y7J+WSEhuaod/Bh3xOWnb27aEBX2ih/a9CC +Mvf9c8h12BgDSMZM6Wi0EPB9MlCQd3utwvpOYVGsG5/ymRS0xJ+YJhFr7Oo8pvIWiTR 2SpjyeQ61of9mP5yHVhbOY4XZIyvnMixhHVmV7Ee/CA0M0muxQ8JTECw4adN8CKFpJJo yOx2IcIgFeAe7awAY64ll0tOj8OEIA2cy8KfTFKENRuQVtFBhnPfw9SUMFQ62HJKm6dq 0VrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742498725; x=1743103525; 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=ZX/9JK1LhO46fIqb8F9EjRgvEOuUIJFUCTu6T1s0Nrc=; b=fQFkA0rENKgc82RfcQa+SZZTpqWAQ2izOWHBENW0nrI+f7dUS01bCpYjsGMrsgJjgc cYZoeO+RJKF0DqfwU6eALAMM3PDjxiQUyKDOtLz3txtHnf2uiT1IFlE+lPqdQRocu5B/ km37IFz8ExWmRAnDs5y3WFzGvxKe2rnZIhPCNB7lCMBkIVhcg3Gwuy+PpswQL0ZilnMC HlDPCjbB7DsQG8rWM4aPESHCclaRlZxWCByp8VWSqBss7vim3t+1wl+udhCSuqNCCyZW hafowypgcJMihjlsHBo4AoU32raBDOiMLQ2Gl8305NtJf7uclGTtSEk24QYOQhhC40v5 B/MQ== X-Forwarded-Encrypted: i=1; AJvYcCVOtHvOLYa3vNDFROk4YuSb5hGzrb3X1YUlPiLUs4lvMSKM5nsal23tnocTljBEdrTfzweb5FmN1ss=@lists.php.net X-Gm-Message-State: AOJu0YxYlRdzjdjsvjdpLlD76YNHmfZb+5j1Zl6NP7udQohedztLMlY0 x98FpXZXwxhkfcPcPY2D8fmPdXJLuHysqnBX9VXKdd1QbFCRGWaj3S9VHOoalSQQoKOrmwsK0XW Youc6VUmgZzvYOrFqudv/VoYquio= X-Gm-Gg: ASbGnctadevu4n+skWv+YrcBF/gvEaJbevaqUiEuOfPDxlEB24kFPHqwyIu5ppMZGSg OH6eOFdXO8vByhDJvK86hQots5BaNeHahmW6CBQI6a1sNsV2LqkJ6mG+RtUYeZzGGP7+q63PbbH I1piYUvd7D8oS6DKwObMIR05g9zg== X-Google-Smtp-Source: AGHT+IH7+1n8FpUfVL7P524FcqgcGvsR5fBM+t91yjiQbVqv69chtYHtkRf52Be/QlSUsmZ2H+g+ZrCGgjscNyecBBQ= X-Received: by 2002:a17:90b:46:b0:2f4:432d:250d with SMTP id 98e67ed59e1d1-3030fe9e93emr635239a91.21.1742498725177; Thu, 20 Mar 2025 12:25:25 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <72bd5401-53a9-409f-ad45-687333401961@rwec.co.uk> <6987D912-CE46-4145-A8CE-732CA590A522@rwec.co.uk> <2F013672-9937-4AB1-BC46-86F3D342BE6B@rwec.co.uk> <743c84d4-28db-4f68-80e5-3cad2dac6e68@rwec.co.uk> <8b977572-43df-40d8-a950-6789d3242429@app.fastmail.com> In-Reply-To: Date: Thu, 20 Mar 2025 21:25:11 +0200 X-Gm-Features: AQ5f1Jp4hTEDPUmYIRTtVTVaBozn_YeuHIMT5FivNuqT0_OTDGLw7NgYsINKVKw Message-ID: Subject: Re: [PHP-DEV] PHP True Async RFC - Stage 2 To: Edmond Dantes Cc: Larry Garfield , php internals Content-Type: multipart/alternative; boundary="00000000000089504b0630cb19bc" From: i.miroslavov@gmail.com (Iliya Miroslavov Iliev) --00000000000089504b0630cb19bc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > At the language abstraction level, we can say that spawn performs a single operation: it creates an execution context. In this case, the *execu= tion 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). Correct. On Thu, Mar 20, 2025 at 8:45=E2=80=AFPM Edmond Dantes = wrote: > > > > 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 *exe= cution > 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). > --=20 Iliya Miroslavov Iliev i.miroslavov@gmail.com --00000000000089504b0630cb19bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> At the language abstraction level, we can say that=C2= =A0spawn=C2=A0performs a single operation: it creates an execu= tion context. In this case, the=C2=A0execution context=C2=A0is 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).

Correct.= =C2=A0

On Thu, Mar 20, 2025 at 8:45=E2=80=AFPM Edmon= d Dantes <edmond.ht@gmail.com= > wrote:

>
>=C2=A0 Nitpick to make sure we're talking about the same thing: What does &quo= t;Separate execution context" mean here?=C2=A0 Because a keyword whose= description includes "and" is always a yellow flag at least.=C2= =A0=C2=A0
>

At the language abstraction level, we can say that = spawn performs a single operation: it creates an execution con= text. In this case, the execution context is a low-level term that r= efers to the combination of processor register states and the call stack (a= s well as the state of the Zend engine).



--
Iliya Miroslavov Iliev
--00000000000089504b0630cb19bc--