Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 15:08:46 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        arch@freebsd.org, dillon@freebsd.org
Subject:   Re: STOP and SLEEP in the kernel
Message-ID:  <3C4DF0FE.6E9B0D35@mindspring.com>
References:  <Pine.BSF.4.21.0201221130030.18165-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> It seems to us that we need to think carefully about whether suspending a
> thread in cvwait or msleep is a good idea. ncp_poll() seems a really odd
> place for a thread to suspend. The difficult part for me in a
> multithreaded system another thread could call exit() while the thread is
> stopped there and I need to be able to break it out safely. This means
> that I need to be able to get it to back out to the user boundary at
> least, so that I can be sure it's released all resources before I shoot
> it.

I believe this is intentional, due to the need to run soft
interrupts on a fairly consistant basis.

-- Terry

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?3C4DF0FE.6E9B0D35>