07/10/2013 23:24, Georg Baum:
I don't remember the mutex story, however the problem is surely due to the static output buffer in iconv_convert. The question is: why was it made static?For performance reasons (see r14854), and I believe that removing the static keyword would be quite visible in the profiler.
Is there something like per-thread static storage? We do not really need mutexes, since it is not concurrent access to the same information.
JMarc