Hal Murray <hmur...@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.


_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to