Subject: Re: save/restore fpu for the signal handler call
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Jason Thorpe <thorpej@shagadelic.org>
List: port-i386
Date: 12/06/2005 09:10:11
On Nov 30, 2005, at 12:26 PM, der Mouse wrote:

> 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?

POSIX has a (very short) list of functions that are defined to be  
async signal safe.  printf() is not in that list.

-- thorpej