SMP and one-process threads

Doug White dwhite at gumbysoft.com
Fri Jan 16 09:39:59 PST 2004


On Fri, 16 Jan 2004, Scott Long wrote:

> Joan Picanyol wrote:
> > * Doug White <dwhite at gumbysoft.com> [20040116 17:41]:
> >
> >>Be careful.... FreeBSD doesn't currently schedule different threads of the
> >>same program on different processors.
> >
> > Is this true no matter of scheduler/libmap.conf combination? Is it a
> > planned/required feature?
> >
> > qvb
> > --
> > pica
>
>
> Doug's statement was a bit too absolute.  The default threading package
> is libc_r, which is purely a userland threading package and does not
> allow threads to be scheduled on concurrent CPUs.  libkse does allow
> this, and can be enabled be either linking directly to it, or using the
> libmap.conf(5) facility.

I stand corrected.
-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list