Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127697 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 479891A00BC for ; Tue, 17 Jun 2025 16:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750178158; bh=ijUrxSEzFAbmXOejFoScyWGyT00Cso3gZuT3rbJC9a0=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=JYrRy6V0UrEO7n+MLiyfO1eE1JbVCGqoIZp8GYRXqmlSQIc/sKsL2jMkXpD5MOyAf UZB516JEPlxxOuIjEvVJxCMLhJhaHHFy41M3QHcijeyDYdnY7p8CSOrngUgNnKuTmt Ff5A8Hu+k66XAkKpVBT7brJiLFXhQwt9XxFqdDQC0Pawvmxfl/3JbXuZiDCGI0LaR8 USWWnQsWcDeJcTHYLBfLq2wZawOY1G5fRU76IbyS3qHoTBK2PxjlC+sEKFJ7nuXokB CsCRv772PK+xnvYmMPcc879xLPGh1AtTwCND6GZhNmvy5bnpCiefzQXTJBwUSFCcLZ ka1dXqyIRncew== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DA9D8180081 for ; Tue, 17 Jun 2025 16:35:57 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) (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 ; Tue, 17 Jun 2025 16:35:54 +0000 (UTC) Received: by mail-il1-f175.google.com with SMTP id e9e14a558f8ab-3ddd78f7c91so19899805ab.1 for ; Tue, 17 Jun 2025 09:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750178272; x=1750783072; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ijUrxSEzFAbmXOejFoScyWGyT00Cso3gZuT3rbJC9a0=; b=fjhcj+6yMi889WlkyG84w1YJZm0hwwzcdeDRtOOEZ9IaomZAsmPr/BfCVmX0UPpv+l c4eZQ7aGP1JT++zM55dCpJgSl82+gvdtr2R+sSiKpsMb5WD2plzmLaq6ARyh25IDpWDh ks5fsBA2o5v361X7TVYQv4jRU3Mmh+UZ9uoRRimdHbOCatVUm4hK/bEdtdKdi5XR1CXV nKedCRkrOvp3PurxTwP5m/tjj7Xn72CjeMkfSjWzNgx2/GbpQFok7spjk9dBZBGbq5Y8 mA8tY6pn8KETPOc5h3zgf7sqFDiRf+Kvqcc6nWep2z/c6DYvQQmOtWJnjagGib1SVifm 0ljg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750178272; x=1750783072; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ijUrxSEzFAbmXOejFoScyWGyT00Cso3gZuT3rbJC9a0=; b=XUwQAleO7oTsWghIzDjUGEhxWMUqQaD65oHCRaEKktX8fgv4ReEmycotCjGzomnz3f 1Kvqz+7U/U5zUaCQdPHY4rWe01jrx0SkoqcXNeh9MG3nelL0vmSw0lgfB4/1LKe9jReV xFZZyTY/ZKJDg3KRtWeUxIqg3gHfkuX2brxil16EenMrYaPshfJdUILi9U2XZ+UPwceo oQOjzneOjDNoDRwJ0dS3ZsPhvEpBVtoXUnsymEOXeC6wOBFR480+G0T3wxoKn6WkzHAw bpXoInfJWruD4T9wH3LOwOcWap5jvDCDamjTVQD16521JmiVf0igooj+DcpAAXEGvgFz Qtcg== X-Gm-Message-State: AOJu0YzQJGN5d6uQFICcNZOx0aCuhNyoRmJ3eJ+rN++7yZ/eHzPSAJu/ IdsMKWFhkpCDd4LS+CgQcDZnkpaQdzsAqHGJbmYjiG2BsaO1lWfFSr4u54kYgJyyt7M23LZUBs3 6RKi9xUcIr/2KdCbWzW3I31AWsfQOB2q/IB7w X-Gm-Gg: ASbGnctvhcOLWdYScBqQbPNRTDh7wYS4d5RD+yZno8WFLsCrvnZMzOI1fWVjusxnY52 LOhkXSqliFpgUmTn01eUBeJ2yOMjicbQuHWjDLYqRShpE+XCTX5oXgev93NbVJamx9ZsFy67ZcT HPJXP9RbijmVS1ceKqqnCn1rCXHb9EOUAxurViQHvRmqOuVATg6+MSXBRb6uc+FMo46RQHi4RXl u2eIg== X-Google-Smtp-Source: AGHT+IF/AHNUzxjH4wfB54OZ/QZ8aIlqtNkevkCTVvQhsR8ZUnSDR69HzmrLVfhmnBeCVwPNELyoeWF0/BvypE/UFC4= X-Received: by 2002:a05:6e02:1c25:b0:3dc:875e:ed8d with SMTP id e9e14a558f8ab-3de07b16577mr141261745ab.4.1750178272432; Tue, 17 Jun 2025 09:37:52 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <8b76a3d4-4583-4849-a75f-00f645191247@gmail.com> <57f7ed3e-6bef-434d-83db-fd729ff43fc9@gmail.com> <20250527163747.ADA6D1A00BD@lists.php.net> <0FC66A63-1284-41AF-AA27-27F657EB57AF@php.net> <20250527171352.552DD1A00BD@lists.php.net> In-Reply-To: Reply-To: erictnorris@gmail.com Date: Tue, 17 Jun 2025 12:37:35 -0400 X-Gm-Features: AX0GCFuZ9HeYln-C9hJRomEkj167eWRiqA32crgjECwpOn4QBu0kS8tshRKyaIk Message-ID: Subject: Re: [PHP-DEV] [RFC] Add num_available_processors To: Daniel Kesselberg Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: eric.t.norris@gmail.com (Eric Norris) Hello! On Sun, Jun 15, 2025 at 1:33=E2=80=AFPM Daniel Kesselberg wrote: > > Hi, > > Thanks for all your feedback on the RFC. > > I've updated the RFC to incorporate most of your feedback: > https://wiki.php.net/rfc/num_available_processors > > 1) The limitation, that the CPU affinity mask is ignored > 2) The naming discussion I'm curious, is there a reason why you feel that introducing a new namespace should be under "Future Scope", instead of a part of this RFC? I expect there would be some bikeshedding over the namespace name, but there is / will be some bikeshedding around a non-namespaced name in the first place, so it feels like a good opportunity to embrace namespaces in the standard library. I ask this because I've been very slightly interested in introducing a Curl namespace since the "Throwable Hierarchy Policy for Extensions" (https://wiki.php.net/rfc/extension_exceptions) RFC and my own personal "Persistent curl share handle" (https://wiki.php.net/rfc/curl_share_persistence_improvement) RFC. > How do we continue? ;) I see there are various ideas how to approach it, > is that something you would vote (let's do a or b) on, or how does that > work? Relating to my above question, if you're open to it, I would be happy to work with you on your RFC to (a) figure out a good namespace name and (b) update the RFC to match.