08/10/2013 14:24, Jean-Marc Lasgouttes:
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.

For example, is the following useful?
http://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_local_storage.html

JMarc

Reply via email to