This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] abort: Only flush file-based stdio streams before termination
On Aug 17 2017, Florian Weimer <fweimer@redhat.com> wrote:
> In your opinion, should we remove the flushing altogether?
Yes. abort must be thread-safe, and there is no way to do flushing
without locking.
> We still have a similar problem during regular process termination, though.
_IO_cleanup must do locking as well, of course.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."