delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/03/08/13:57:56

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 528Ivtpr1594511
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 528Ivtpr1594511
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jiE2TL/2
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA67D3858C98
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1741460274;
bh=Td+xsX3xYnfzOLpn/ixXTordFlCichmkWcNY7Se8y8Y=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=jiE2TL/2KwpYOHzHrlwzGZXsEp1M1dtfam3xD7dsC3TZV/IP+SH6aFKA6cS+QED9I
0kLXmTQBOSzqulOB4zSz14l3mkIZBhexIqb5jgcQkQ4zeqCJWoQ0eKIKk9c9m/ggr1
0i4hYaOeNUhZmbZT/rAWqA0cNJC3uosrHshie9Hk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5F3E93858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5F3E93858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741460252; cv=none;
b=eppHODKEHIbcUmTpA6MlGfga+WGoOfIl0L8Pf9KO5FUrhEmAze7Iz8xEyXJeH69DM47EkBtwLp6r88aw8H90gEm9+Axpu4kWQa4HogpEfxaTKJaPIzjOdKLNGMPCRxApxRgOXJ5GPfypvBnchks3u8h780XPbSTV2MWHiNMXY28=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1741460252; c=relaxed/simple;
bh=c/zpRZUgoZO4WNiquEuRkL+fRwU61k4YKixXhFc9F5Y=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=bAUB0QUaBYL/L9CvD0rbyL45L7Mf2+bsd5rDEHKLBRrwsieGVyPUcNuK6LP5qvC0iJwP4/gD9xY/pJx3aL2Q2znYCHHIQZsHMf0cd0LhTx5VhBT/TdOU9G6JQ8lrgoMu5lCHXyX76AfaViPTB43e4doTPNr2P1c3LBo2pNwnss4=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F3E93858D1E
Subject: Re: sched_getaffinity() always returns the full cpu mask
To: cygwin AT cygwin DOT com
References: <378d90a0-bff5-36d1-d1f7-8a28e046af2a AT t-online DOT de>
<376e8b62-c90b-45f5-bfc8-f90ff90d370c AT SystematicSW DOT ab DOT ca>
Message-ID: <656cdc70-cf3a-f632-a3a8-0fdc83b5631f@t-online.de>
Date: Sat, 8 Mar 2025 19:57:27 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101
SeaMonkey/2.53.20
MIME-Version: 1.0
In-Reply-To: <376e8b62-c90b-45f5-bfc8-f90ff90d370c@SystematicSW.ab.ca>
X-TOI-EXPURGATEID: 150726::1741460247-59DD9999-558F12BB/0/0 CLEAN NORMAL
X-TOI-MSGID: febda8b1-3f6e-4236-936c-16a0be2496fb
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 528Ivtpr1594511

Brian Inglis via Cygwin wrote:
> On 2025-03-08 10:11, Christian Franke via Cygwin wrote:
>> $ grep processor /proc/cpuinfo | tail -1 # i7-14700K
>> processor       : 27
>
> coreutils nproc should show the equivalent result 28
>

Works as expected:

$ nproc
28

$ busybox nproc
28


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019