From owner-freebsd-threads@FreeBSD.ORG Wed Apr 27 15:01:05 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 292C21065676 for ; Wed, 27 Apr 2011 15:01:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id F27478FC1E for ; Wed, 27 Apr 2011 15:01:04 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9115546B98; Wed, 27 Apr 2011 11:01:04 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 19C348A02B; Wed, 27 Apr 2011 11:01:04 -0400 (EDT) From: John Baldwin To: "Dr. Baud" Date: Wed, 27 Apr 2011 10:49:39 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <76949.38665.qm@web120705.mail.ne1.yahoo.com> In-Reply-To: <76949.38665.qm@web120705.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104271049.39540.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 27 Apr 2011 11:01:04 -0400 (EDT) Cc: freebsd-threads@freebsd.org Subject: Re: Process scope X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 15:01:05 -0000 On Wednesday, April 27, 2011 7:36:05 am Dr. Baud wrote: > > Ok, thanks John. Are the functions in pthread_affinity_np(3) fully supported? Yes, they use the cpuset(2) API. > Dr. > > --- On Tue, 4/26/11, John Baldwin wrote: > > > From: John Baldwin > > Subject: Re: Process scope > > To: freebsd-threads@freebsd.org > > Cc: "Dr. Baud" > > Date: Tuesday, April 26, 2011, 3:12 PM > > On Tuesday, April 26, 2011 3:20:27 pm > > Dr. Baud wrote: > > > Can anyone confirm that libthr > > in FreeBSD 8.1 supports/does not support > > PTHREAD_SCOPE_PROCESS. > > > > > > Thanks in advance. > > > > You can specify PTHREAD_SCOPE_PROCESS, but all of the > > threads in libthr are > > effectively system scope threads. > > > > -- > > John Baldwin > > > -- John Baldwin