GDB 6.0 and FreeBSD threads

Julian Elischer julian at elischer.org
Mon Mar 29 23:30:26 PST 2004


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 at elischer.org     +------>x   USA    \ a very strange
| (   OZ    )                                \___   ___ | country !
+- X_.---._/    presently in San Francisco       \_/   \\
           v



More information about the freebsd-threads mailing list