From owner-freebsd-threads@FreeBSD.ORG Mon Mar 29 23:30:26 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 3400A16A4CE for ; Mon, 29 Mar 2004 23:30:26 -0800 (PST) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DABA443D46 for ; Mon, 29 Mar 2004 23:30:25 -0800 (PST) (envelope-from julian@elischer.org) Received: from elischer.org (adsl-216-100-132-94.dsl.snfc21.pacbell.net [216.100.132.94])i2U7UNTa173086; Tue, 30 Mar 2004 02:30:24 -0500 Message-ID: <406921A2.7020701@elischer.org> Date: Mon, 29 Mar 2004 23:28:34 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030524 X-Accept-Language: en, hu MIME-Version: 1.0 To: Petri Helenius References: <4068DA49.24401.5BE9BE4@localhost> <40691304.15123.69C3765@localhost> <40690EA8.5050908@he.iki.fi> In-Reply-To: <40690EA8.5050908@he.iki.fi> 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 07:30:26 -0000 Petri Helenius wrote: > 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? pretty much.. >> >> >> > SCOPE_SYSTEM threads get their own kse while SCOPE_PROCESS threads share > number of kse´s defined by kern.threads.virtual_cpu or concurrency. where "KSE" stands for "Kernel Schedulable Entity" -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v