Going forward with NTS

Eric S. Raymond esr at thyrsus.com
Wed Feb 6 03:15:48 UTC 2019


Hal Murray <hmurray at megapathdsl.net>:
> > In fact, it's not strictly speeking something we need to fix until we're
> > worrieed about using a C library other than glibc. It does some weird things
> > under the hood to make stdio operations thread-safe. 
> 
> msyslog is mostly not stdio so that won't help much.

I see the write-to-file code using fprintf(3).

That code is thread-locked. I found this out the hard way a couple years
ago; it was causing severe performance drag in cvs-fast-export.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.




More information about the devel mailing list