diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-07 08:55:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-07 09:50:32 +0100 |
commit | 7b9f22fb62cddcc48866c3abae1ad1f636548dde (patch) | |
tree | 6456900f16d6916a41e309498d57adc282294614 /comphelper/source/misc | |
parent | e005930ffc7ba46c04818d8dae59e9f1521386b9 (diff) |
try and silence coverity#1403659 Data race condition
Change-Id: Ibe8629b9f61230b41840351a3486050e6ad9eb8c
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/threadpool.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index 2c8a116c4e56..e67bacb8bd6b 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -153,6 +153,7 @@ void ThreadPool::shutdownLocked(std::unique_lock<std::mutex>& aGuard) } assert( maTasks.empty() ); + // coverity[missing_lock] mbTerminate = true; maTasksChanged.notify_all(); |