Subject: Re: Possible changes to POSIX abort()
To: David Laight <david@l8s.co.uk>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 07/14/2002 12:48:10
On Sun, Jul 14, 2002 at 08:18:14PM +0100, David Laight wrote:
> I thought the point about abort() was that you could call it from a
> signal handler and it would flush the stdio streams....
Flushing stdio streams is particularly dangerous to do in a signal
handler, because doing so could require acquiring a mutex.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>