summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/jobqueue.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/jobqueue.hxx')
-rw-r--r--cppu/source/threadpool/jobqueue.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/threadpool/jobqueue.hxx b/cppu/source/threadpool/jobqueue.hxx
index 6bddcc73483f..65f4a6075ea9 100644
--- a/cppu/source/threadpool/jobqueue.hxx
+++ b/cppu/source/threadpool/jobqueue.hxx
@@ -68,12 +68,12 @@ namespace cppu_threadpool
void suspend();
void resume();
- sal_Bool isEmpty();
- sal_Bool isCallstackEmpty();
+ sal_Bool isEmpty() const;
+ sal_Bool isCallstackEmpty() const;
sal_Bool isBusy() const;
private:
- ::osl::Mutex m_mutex;
+ mutable ::osl::Mutex m_mutex;
JobList m_lstJob;
CallStackList m_lstCallstack;
sal_Int32 m_nToDo;