summaryrefslogtreecommitdiff
path: root/src/plugins/clangrefactoring
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2017-10-05 17:36:44 +0200
committerTim Jenssen <tim.jenssen@qt.io>2017-10-05 17:48:23 +0000
commitbe939a80db584aecf94fc83305cd1529f4ddb51d (patch)
treeaf5c25b466a77bd922815a67205553f50bb5aae6 /src/plugins/clangrefactoring
parentd2e15e5f1efa1ef160a2d4f40ab61180477d1f14 (diff)
downloadqt-creator-be939a80db584aecf94fc83305cd1529f4ddb51d.tar.gz
Clang: Improve locking of string cache
The string cache is only very seldom written but very often read. To improve thread scaling it is faster to lock it only for write operations. So we use a shared mutex which is locked in shared mode for read operations and locked exclusively for write operations. Change-Id: I2cc742d1b9cc15c162be40ab339fa8310640bc44 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/clangrefactoring')
0 files changed, 0 insertions, 0 deletions