The first kse_create call

Daniel Eischen eischen at vigrid.com
Tue Jun 17 17:49:51 PDT 2003


On Tue, 17 Jun 2003, Julian Elischer wrote:
> 
> On Tue, 17 Jun 2003, Daniel Eischen wrote:
> > This is the correct behavior.  The first kse_create() does not
> > generate an immediate upcall.  It only flags the current context
> > as being a KSE.  An upcall in this initial KSE will take place
> > under the same conditions as other KSEs (KSE mailbox has a thread
> > mailbox pointer and thread blocks, quantum expires, etc).
> > Subsequent kse_create() calls will generate upcalls immediately
> > (well, at the mercy of the kernel scheduler).
> 
> Wellll, the kse_create() will not upcall, but the new kse that is
> created will upcall.

Right, that's what I meant.

> The kse_create() call will just return to the original thread.

Yup.

-- 
Dan Eischen



More information about the freebsd-threads mailing list