From owner-freebsd-hackers Tue Nov 21 12:57:19 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22091 for hackers-outgoing; Tue, 21 Nov 1995 12:57:19 -0800 Received: from werple.net.au (0@werple.mira.net.au [203.9.190.18]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id MAA22081 for ; Tue, 21 Nov 1995 12:57:13 -0800 Received: from cimaxp1.UUCP (Ucimlogi@localhost) by werple.net.au (8.7/8.7.1) with UUCP id HAA22849 for hackers@FreeBSD.org; Wed, 22 Nov 1995 07:57:02 +1100 (EST) Message-Id: <199511212057.HAA22849@werple.net.au> X-Authentication-Warning: werple.net.au: Ucimlogi set sender to cimaxp1!jb using -f Received: by cimaxp1.cimlogic.com.au; (5.65/1.1.8.2/10Sep95-0953AM) id AA22337; Wed, 22 Nov 1995 08:00:47 +1100 From: John Birrell Subject: Re: int type in jmpbuf To: lambert.org!terry@werple.net.au (Terry Lambert) Date: Wed, 22 Nov 1995 08:00:47 +1100 (EST) Cc: hackers@FreeBSD.org, jb@cimlogic.com.au In-Reply-To: <199511211812.LAA04316@phaeton.artisoft.com> from "Terry Lambert" at Nov 21, 95 11:12:39 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.org Precedence: bulk > > We're doing as the MIT pthreads code does (__asm__ fsave/frstor) to save and > > restore the FP state on entering the scheduler from the real signal handler. > > So far we don't see a problem on the 486 we are using. It's the coprocessor > > problem that Bruce was pointing out that we can't cope with. We're treating > > that as a limitation and pressing on... > > As long as you are hacking, putting the state save/restore for the signal > handler below a system call interface would save your portability to non > x86 platforms. Our goal is to build threaded programs which we can run on 2.1.0R as installed from the Walnut Creek CD and to submit this code for inclusion in 2.2.0R. We're not about to go hacking the kernel. Of course if others think that the addition of a syscall to save FP state is worthwhile, we'll integrate that if and when it becomes available. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. > -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au 119 Cecil Street Ph +61 3 9690 9600 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137