Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 09:07:36 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        Niall Douglas <s_sourceforge@nedprod.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: GDB 6.0 and FreeBSD threads
Message-ID:  <40690EA8.5050908@he.iki.fi>
In-Reply-To: <40691304.15123.69C3765@localhost>
References:  <4068DA49.24401.5BE9BE4@localhost> <40691304.15123.69C3765@localhost>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40690EA8.5050908>