Subject: Re: Possible changes to POSIX abort()
To: <>
From: David Laight <>
List: tech-userlevel
Date: 07/14/2002 20:18:14
> >
> >Except that IIRC you can't call fflush() from a signal handler?
> Indeed, but the application is likely to have some idea of whether it's in a
> signal handler, and hence whether it's safe for it to call fflush().  It's
> very difficult for abort() to work this out, especially in the presence of
> multiple threads, which is why it's being suggested that abort() should be
> allowed not to flush streams itself.

I thought the point about abort() was that you could call it from a
signal handler and it would flush the stdio streams....


David Laight: