ICU: Mark which functions are threadsafe and which ones aren't
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 3 Aug 2012 09:40:35 +0000 (11:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 3 Aug 2012 22:52:14 +0000 (00:52 +0200)
commit4e542d958a8fa81c91e55c1358e15c84e34d15de
tree0dae9c119fad275a0f3a062b1b3920edf1eda77d
parent0715e1e6c2d38776cd9d5661639ce517f685fa6f
ICU: Mark which functions are threadsafe and which ones aren't

Mark the thread-safe functions with the \threadsafe doc marker. This
includes public API, which should be thread-safe anyway.

The thread-unsafe functions are marked "\nonreentrant" already. In
addition, I renamed the functions that must be called with locked
mutexes to Unlocked, following the convention in other libraries like
libdbus-1.

Change-Id: Ibd93d1266149767f546c8e82959b73c138008469
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/codecs/qicucodec.cpp
src/corelib/codecs/qicucodec_p.h
src/corelib/codecs/qtextcodec.cpp