]> git.lyx.org Git - features.git/commit
Make encoding conversions thread safe
authorGeorg Baum <baum@lyx.org>
Sat, 12 Oct 2013 11:27:05 +0000 (13:27 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 12 Oct 2013 11:27:05 +0000 (13:27 +0200)
commit2ad994d1d6f5020b6871ec97c5dfed327ba09923
tree170a2a53ec93d79dd4b352dab315aac070c0d4bc
parent22c9c2e4e7734cbebbb0c5be3f382f35f17b81b5
Make encoding conversions thread safe

This is the result of the discussion on the list "2.1.0 Blocker". Thanks to
all contributors!
The main idea is to use thread-local storage for all static variables.
This solution does not need any mutex. For more details, see the comment in
unicode.h.
src/support/docstring.cpp
src/support/unicode.cpp
src/support/unicode.h
status.20x