Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 21:34:19 -0800 (PST)
From:      Yifeng Xu <websoft@yahoo.com>
To:        Seth Leigh <seth@pengar.com>, freebsd-smp@freebsd.org
Subject:   Re: possible problem with SMP?
Message-ID:  <20010216053419.25951.qmail@web1704.mail.yahoo.com>
In-Reply-To: <5.0.2.1.0.20010215204946.027a3c88@hobbiton.shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
by reading jasone's KSE project web pages,  I do think KSE will support 
PTHREAD_SCOPE_SYSTEM very well, FreeBSD will do support 1:1 and M:N thread model, 
it seems KSE will have bright future, I think it's perfect and I am waiting.

David Xu

--- Seth Leigh <seth@pengar.com> wrote:
> With the normal threads library under Solaris (/usr/lib/libthread.so.1 and 
> /usr/lib/libpthread.so.1) the default mode of operation is indeed 
> n:m.  However, if you declare a pthread_attr_t and call 
> pthread_attr_setscope() on it with PTHREAD_SCOPE_SYSTEM, then any threads 
> created subsequently are bound to an lwp.  Threads created with 
> PTHREAD_SCOPE_SYSTEM are 1:1.
> 
> Additionally, with Solaris 8 there is an alternate threads library 
> (/usr/lib/lwp/libpthread.so.1) which is strictly 1:1.  Ie: bound threads 
> are all you get, and all scheduling and such is left to the kernel.
> 
> Seth
> 
> At 05:22 PM 2/15/2001 -0800, Arun Sharma wrote:
> >On 15 Feb 2001 06:37:23 +0100, Nate Williams <nate@yogotech.com> wrote:
> > > Sun's JDK uses a one-one mapping, because
> >
> >Do you have any references for this ? libpthread on Solaris uses n:m
> >mapping, AFAIK.
> >
> >         -Arun
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-smp" in the body of the message
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-smp" in the body of the message


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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