Subject: Re: save/restore fpu for the signal handler call
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-i386
Date: 11/30/2005 15:26:45
>> But something like
>> 	printf("%.2f%% done\n",done*100.0/total);
>> inside a SIGINFO handler is totally reasonable.
> Except that printf() isn't :)  You cannot safely access stdio within
> signal handler.

I thought you could provided the main line wasn't using the same FILE *
when the signal arrived.  Is that wrong?  If so, is it wrong for us
with our stdio, or just wrong in that it's not promised by the spec but
works for us?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B