Skip to content
Snippets Groups Projects
Commit be939a80 authored by Marco Bubke's avatar Marco Bubke Committed by Tim Jenssen
Browse files

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: default avatarTim Jenssen <tim.jenssen@qt.io>
parent d2e15e5f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment