Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 14:34:03 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Daniel Eischen <eischen@pcnet1.pcnet.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: PATCH - changing libc_r to use *context() (fwd)
Message-ID:  <20021128143403.A98438@phantom.cris.net>
In-Reply-To: <Pine.GSO.4.10.10211251055010.25917-100000@pcnet1.pcnet.com>; from eischen@pcnet1.pcnet.com on Mon, Nov 25, 2002 at 11:00:03AM -0500
References:  <Pine.GSO.4.10.10211251055010.25917-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wow! Cool. Did you do performance measurements ? I think such
switch will cause performance slowdown.

PS: Any plans on MFCing these changes ?

On Mon, Nov 25, 2002 at 11:00:03AM -0500, Daniel Eischen wrote:
> FYI, this patch should have everything you've been asking for.
> 
> To answer some potential questions, a threads context is
> always in thread->ctx as a ucontext_t.  A thread's interrupted
> context is stored in the same location.
> 
> Signal handlers caused by pthread_kill() now also get a
> siginfo and ucontext passed to them (assuming the handler
> was installed with SA_SIGINFO).
> 
> ---------- Forwarded message ----------
> Date: Mon, 25 Nov 2002 10:52:04 -0500
> From: Daniel Eischen <eischen@vigrid.com>
> To: freebsd-current@freebsd.org
> Subject: PATCH - changing libc_r to use *context()
> 
> There's a patch at:
> 
>   http://people.freebsd.org/~deischen/libc_r.diffs
> 
> that changes libc_r to use *context() instead of setjmp/longjmp.  There
> are some other changes that the -java folks have wanted for some time
> (signal handlers installed with SA_SIGINFO now always get a siginfo_t
>  and ucontext_t).
> 
> Normally I would wait until after 5.0-release to do this, but the
> ia64 folks (perhaps the sparc64?) really wanted this.
> 
> I'd like some feedback on whether some heavy threaded apps (GNOME,
> OpenOffice, Java, etc) have any problems with this patch before
> asking re@ for commit permission.  BTW, it also needs testing on
> alpha.
> 
> Thanks,
> 
> -- 
> Dan Eischen
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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