Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 23:28:34 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: GDB 6.0 and FreeBSD threads
Message-ID:  <406921A2.7020701@elischer.org>
In-Reply-To: <40690EA8.5050908@he.iki.fi>
References:  <4068DA49.24401.5BE9BE4@localhost> <40691304.15123.69C3765@localhost> <40690EA8.5050908@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406921A2.7020701>