diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-22 14:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-23 04:46:35 +0000 |
commit | 46d3163f779a43cc7c023a6e8141f990e5d23292 (patch) | |
tree | 99c87b90b69f3c59edb91206b364a4e5c9b1c640 /comphelper | |
parent | c2a20af2c12bf75e7378a3a9dbc50a4dddabdebc (diff) |
loplugin:unusedmethods
Change-Id: Ife4c8d948ffa116f044d43903de9485e43cfcae5
Reviewed-on: https://gerrit.libreoffice.org/32336
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/threadpool.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index eddf56e43d49..712009d8a2b4 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -76,7 +76,6 @@ public: }; ThreadPool::ThreadPool( sal_Int32 nWorkers ) : - mnThreadsWorking( 0 ), mbTerminate( false ) { std::unique_lock< std::mutex > aGuard( maMutex ); @@ -200,19 +199,6 @@ ThreadTask *ThreadPool::popWorkLocked( std::unique_lock< std::mutex > & rGuard, return nullptr; } -void ThreadPool::startWorkLocked() -{ - mnThreadsWorking++; -} - -void ThreadPool::stopWorkLocked() -{ - assert( mnThreadsWorking > 0 ); - if ( --mnThreadsWorking == 0 ) - maTasksChanged.notify_all(); -} - - void ThreadPool::waitUntilDone(const std::shared_ptr<ThreadTaskTag>& rTag) { #if defined DBG_UTIL && defined LINUX |