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 ?
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message