Bug in kse_switchin()?

Daniel Eischen deischen at freebsd.org
Thu Sep 23 05:49:08 PDT 2004


On Thu, 23 Sep 2004, Andrew Belashov wrote:

> Daniel Eischen wrote:
> > Wouldn't you also see same behavior (bugs) in other things, like
> > getcontext(), setcontext(), and swapcontext() (kern_context.c)?
>
> No. uap structure is not used after set_mcontext().

Have you tried copying the uap (flags, tmbx) before setting
the context and using the copy thereafter?

-- 
Dan Eischen



More information about the freebsd-threads mailing list