Skip to content
  • Marco Bubke's avatar
    Clang: Improve locking of string cache · be939a80
    Marco Bubke authored and Tim Jenssen's avatar Tim Jenssen committed
    
    
    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>
    be939a80