]> git.lyx.org Git - features.git/commit
Make encoding conversions thread safe
authorGeorg Baum <baum@lyx.org>
Thu, 10 Oct 2013 19:20:44 +0000 (21:20 +0200)
committerGeorg Baum <baum@lyx.org>
Thu, 10 Oct 2013 19:20:44 +0000 (21:20 +0200)
commit6a30211fef7beda0a91966b42ecfa4631953b776
treef3dc3fe1c2bd88dbd7bac8acf4fee5dea04e680e
parent009809b41dbc9cc95ca156a10d286655578b1869
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