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

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote:
> 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?

Yes. It solves a problem in this place.
However libkse does not work again...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4152CE93.4050908>