[Libreoffice-commits] core.git: comphelper/source

Caolán McNamara caolanm at redhat.com
Fri Apr 7 08:51:06 UTC 2017


 comphelper/source/misc/threadpool.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7b9f22fb62cddcc48866c3abae1ad1f636548dde
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 7 08:55:37 2017 +0100

    try and silence coverity#1403659 Data race condition
    
    Change-Id: Ibe8629b9f61230b41840351a3486050e6ad9eb8c

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();


More information about the Libreoffice-commits mailing list