From owner-freebsd-sparc Mon Jan 6 16:13:43 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E035837B401; Mon, 6 Jan 2003 16:13:42 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C63243EDC; Mon, 6 Jan 2003 16:13:41 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h070DaXL052446; Mon, 6 Jan 2003 16:13:36 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h070DaEw022604; Mon, 6 Jan 2003 16:13:36 -0800 (PST) (envelope-from jdp) Date: Mon, 6 Jan 2003 16:13:36 -0800 (PST) Message-Id: <200301070013.h070DaEw022604@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: tmm@freebsd.org Subject: Re: (hopefully) working libc_r for sparc64 In-Reply-To: <20030105023336.GD279@crow.dom2ip.de> References: <20030105023336.GD279@crow.dom2ip.de> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20030105023336.GD279@crow.dom2ip.de>, Thomas Moestl wrote: > > I think I got libc_r working, after rewriting longjmp() and friends so > that they do not require the corresponding setjmp() to be done in an > ancestor function in the call graph any more, i.e. it can be used to > switch stacks now. This might also get other threading packages to > work, e.g. ruby's integrated thread manager. How hard would it be to take this work and use it as a basis for implementing setcontext() and getcontext()? Those are the functions that the Modula-3 runtime wants to use for thread switching on the Sparc architecture. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message