Subject: Re: Possible changes to POSIX abort()
To: None <cgd@broadcom.com>
From: Ben Harris <bjh21@netbsd.org>
List: tech-userlevel
Date: 07/13/2002 20:05:14
On 12 Jul 2002 cgd@broadcom.com wrote:

> One might try some (fairly arbitrary ground) like, for each stdout,
> stderr:
>
> 	* if the output methods are the normal ones, and
>
> 	* if there is data in the buffer waiting to be output,
>
> 	* then try something which won't itself be fatal but which
>           would possibly make the last output available, like
>           write()ing the buffered data.

I think that's reasonable, and quite probably safe in the face of threads
and signals.

> (Of course, the old behaviour would have to be provided by a versioned
> call "forever.")

abort() can't be versioned using our current technology.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>