Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 10:18:19 -0700
From:      Scott Long <scottl@freebsd.org>
To:        Joan Picanyol <lists-freebsd-current@biaix.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: SMP and one-process threads
Message-ID:  <40081CDB.7040503@freebsd.org>
In-Reply-To: <20040116165232.GA13397@grummit.biaix.org>
References:  <200401151316.24827.eqe@cox.net> <20040116084230.Y92448@carver.gumbysoft.com> <20040116165232.GA13397@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joan Picanyol wrote:
> * Doug White <dwhite@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.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40081CDB.7040503>