summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-03 12:27:28 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-04 00:52:18 +0200
commit55662549485be9b47984d4a54e730f531fb01f4a (patch)
tree57a4790eee5d817b05eedaceb6c98471a61bdd96 /mkspecs
parent4e542d958a8fa81c91e55c1358e15c84e34d15de (diff)
ICU: lock the mutex before calling an Unlocked function
The QIcuCodec::defaultCodecUnlocked function is not thread-safe because it calls codecForNameUnlocked. In turn, that one accesses and even modifies a QHash stored in the QCoreGlobalData singleton, which is what makes it non-threadsafe. In order to call the Unlocked function, we need to lock the mutex first. Change-Id: I915570110229f4c0929986aa26731244317ef6ab Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions