diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-04-24 22:40:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-04-26 13:19:26 +0200 |
commit | 9b3eeff056793d38c7933a676cc471c4724b126f (patch) | |
tree | 04b9b5c89111ca1c2369b33ebcb79d8bc290c905 /dbaccess/source/ext | |
parent | f214d664123b3b093f33eb5386867eab26bd8361 (diff) |
SolarMutex::m_nThreadId is read without SolarMutex::m_aMutex locked
...so better make it std::atomic<> (and it also can be private). And in
SolarMutex::doRelease, make sure that m_nCount is only read with m_aMutex
locked.
Change-Id: Iee0c1465e60e07ccd8955010a3dbc15a99dbe807
Reviewed-on: https://gerrit.libreoffice.org/71260
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ext')
0 files changed, 0 insertions, 0 deletions