From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24909 invoked by alias); 16 Mar 2004 20:12:42 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 24891 invoked from network); 16 Mar 2004 20:12:41 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 16 Mar 2004 20:12:41 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.11/8.12.10) with ESMTP id i2GKCMTc007931; Tue, 16 Mar 2004 12:12:22 -0800 Message-ID: <40575FA6.50709@redhat.com> Date: Tue, 16 Mar 2004 20:12:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040315 MIME-Version: 1.0 To: Andreas Jaeger CC: Glibc hackers Subject: Re: get_nprocs question References: In-Reply-To: X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00086.txt.bz2 Andreas Jaeger wrote: > Here's the proposed patch. Is this ok? No. The value returned never had a thread-specific value but with getaffinity it would have. The definition should stay as it it, the affinity issue reducing the possible number of processors the process/thread can run on is a different issue which needs a different set of interfaces. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖