Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2002 11:00:03 -0500 (EST)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        freebsd-java@freebsd.org
Subject:   PATCH - changing libc_r to use *context() (fwd)
Message-ID:  <Pine.GSO.4.10.10211251055010.25917-100000@pcnet1.pcnet.com>

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




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