From owner-freebsd-java Mon Nov 25 8: 0: 6 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B5B937B401 for ; Mon, 25 Nov 2002 08:00:04 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A05B43EA9 for ; Mon, 25 Nov 2002 08:00:04 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id gAPG03S1026541 for ; Mon, 25 Nov 2002 11:00:03 -0500 (EST) Date: Mon, 25 Nov 2002 11:00:03 -0500 (EST) From: Daniel Eischen To: freebsd-java@freebsd.org Subject: PATCH - changing libc_r to use *context() (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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