From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13986 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: sysconf(_SC_NPROCESSORS_CONF) returns the wrong value Date: Tue, 19 Mar 2019 20:11:03 +0100 Message-ID: <87lg1avfw8.fsf@mid.deneb.enyo.de> References: <20190315210202.GD6994@joraj-alpa> <20190316022534.GN26605@port70.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="65048"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Michael Jeanson , Richard Purdie , Mathieu Desnoyers , Jonathan Rajotte-Julien To: musl@lists.openwall.com Original-X-From: musl-return-14002-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 19 20:11:20 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1h6K8u-000Gqw-Aj for gllmg-musl@m.gmane.org; Tue, 19 Mar 2019 20:11:20 +0100 Original-Received: (qmail 17716 invoked by uid 550); 19 Mar 2019 19:11:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17698 invoked from network); 19 Mar 2019 19:11:16 -0000 In-Reply-To: <20190316022534.GN26605@port70.net> (Szabolcs Nagy's message of "Sat, 16 Mar 2019 03:25:34 +0100") Xref: news.gmane.org gmane.linux.lib.musl.general:13986 Archived-At: * Szabolcs Nagy: > i think we need to know why does a process care if musl returns > the wrong number? or what are the valid uses of such a number? If the value is 1, the process might use different concurrency algorithms. This is why glibc returns 2 if the appropriate value is not available.