GDB 6.0 and FreeBSD threads

Petri Helenius pete at he.iki.fi
Mon Mar 29 22:07:40 PST 2004


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



More information about the freebsd-threads mailing list