Date: Wed, 22 Nov 1995 08:00:47 +1100 (EST) From: John Birrell <cimaxp1!jb@werple.net.au> To: lambert.org!terry@werple.net.au (Terry Lambert) Cc: hackers@FreeBSD.org, jb@cimlogic.com.au Subject: Re: int type in jmpbuf Message-ID: <199511212057.HAA22849@werple.net.au> In-Reply-To: <199511211812.LAA04316@phaeton.artisoft.com> from "Terry Lambert" at Nov 21, 95 11:12:39 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511212057.HAA22849>