Process scope

John Baldwin jhb at freebsd.org
Wed Apr 27 15:01:05 UTC 2011


On Wednesday, April 27, 2011 7:36:05 am Dr. Baud wrote:
> 
>      Ok, thanks John. Are the functions in pthread_affinity_np(3) fully 
supported?

Yes, they use the cpuset(2) API.

>     Dr.
> 
> --- On Tue, 4/26/11, John Baldwin <jhb at freebsd.org> wrote:
> 
> > From: John Baldwin <jhb at freebsd.org>
> > Subject: Re: Process scope
> > To: freebsd-threads at freebsd.org
> > Cc: "Dr. Baud" <drbaud at yahoo.com>
> > Date: Tuesday, April 26, 2011, 3:12 PM
> > On Tuesday, April 26, 2011 3:20:27 pm
> > Dr. Baud wrote:
> > >     Can anyone confirm that libthr
> > in FreeBSD 8.1 supports/does not support 
> > PTHREAD_SCOPE_PROCESS.
> > > 
> > >     Thanks in advance.
> > 
> > You can specify PTHREAD_SCOPE_PROCESS, but all of the
> > threads in libthr are 
> > effectively system scope threads.
> > 
> > -- 
> > John Baldwin
> > 
> 

-- 
John Baldwin


More information about the freebsd-threads mailing list