Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 08:49:06 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Andrew Belashov <bel@orel.ru>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Bug in kse_switchin()?
Message-ID:  <Pine.GSO.4.43.0409230845380.7647-100000@sea.ntplx.net>
In-Reply-To: <4152BECE.5080202@orel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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