Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 22:52:48 +0400 (MSD)
From:      Igor Sysoev <is@rambler-co.ru>
To:        Julian Elischer <julian@elischer.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Scheduler framework.
Message-ID:  <Pine.BSF.4.21.0210092252010.2501-100000@is>
In-Reply-To: <Pine.BSF.4.21.0210091001270.37238-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Oct 2002, Julian Elischer wrote:

> > > If a thread mailbox IS provided:
> > > the syscall is entered.
> > > the thread blocks. A second thread is invoked and attached
> > > to the KSE, which is disconnected from the original thread.
> > 
> > Sorry, where did this second thread come from ?
> 
> there is a thread_allocator that allocates threads on demand.
> 
> Actually the process ahs a couple of spare threads "Up its sleave"
> so it doesn't have to go to teh thread allocator every time..

As I understand this second thread has user-level context and
its context pointed by tm_context.uc_link of blocked thread mailbox.
Am I right ?

If it's so then can several threads use the same second thread context ?

Igor Sysoev
http://sysoev.ru


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210092252010.2501-100000>