From owner-freebsd-threads@FreeBSD.ORG Mon Mar 29 22:07:40 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4061916A4CE for ; Mon, 29 Mar 2004 22:07:40 -0800 (PST) Received: from rms04.rommon.net (rms04.rommon.net [212.54.2.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2415643D31 for ; Mon, 29 Mar 2004 22:07:39 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h81.vuokselantie10.fi [193.64.42.129]) by rms04.rommon.net (8.12.9p1/8.12.9) with ESMTP id i2U67acM059783; Tue, 30 Mar 2004 09:07:37 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <40690EA8.5050908@he.iki.fi> Date: Tue, 30 Mar 2004 09:07:36 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Niall Douglas References: <4068DA49.24401.5BE9BE4@localhost> <40691304.15123.69C3765@localhost> In-Reply-To: <40691304.15123.69C3765@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-threads@freebsd.org Subject: Re: GDB 6.0 and FreeBSD threads X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 06:07:40 -0000 Niall Douglas wrote: > >My apologies if this is a question already answered many times >previously - what's then the difference between specifying >SCOPE_SYSTEM and SCOPE_PROCESS on libpthread? Is it basically whether >the thread competes with all threads or just with threads within its >process for that process' time slice? > > > SCOPE_SYSTEM threads get their own kse while SCOPE_PROCESS threads share number of kse´s defined by kern.threads.virtual_cpu or concurrency. Pete