This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Always do locking when accessing streams (bug 15142, bug 14697)


On 25/11/2019 14:20, Andreas Schwab wrote:
> Now that abort no longer calls fflush there is no reason to avoid locking
> the stdio streams anywhere.

the patch looks ok to me.

note that it may expose an issue mentioned in

https://sourceware.org/bugzilla/show_bug.cgi?id=24963

concurrent fflush(0) and freopen(fp) may deadlock
as they choose different lock ordering.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]