tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch to make <stdio.h> reentrant by default



On 27.04.2019 03:01, Thor Lancelot Simon wrote:
> On Fri, Apr 26, 2019 at 11:36:00PM +0200, Kamil Rytarowski wrote:
>>
>> I propose a patch that:
>>
>> 1. Removes alternative versions of <stdio.h> depending on preprocessor
>> namespace definitions. All code since now is assumed to be
>> reentrant/threading safe.
> 
> Benchmark results?  Pessimizing the single-threaded case is kind of a big
> deal, and I'm shocked to see it proposed in a very long message that
> seems to include _no_ measurements of performance at all.
> 
> Thor
> 

I will provide them.

Part of these functions like fileno(3)/clearerr(3) can be called
once/rarely. Other ones are probably not a bottle neck compared to
general I/O bandwidth, but I will get numbers and present them.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index