summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/threadpool.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/threadpool/threadpool.hxx')
-rw-r--r--cppu/source/threadpool/threadpool.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx
index 83f219e0960b..b1db7b368cc2 100644
--- a/cppu/source/threadpool/threadpool.hxx
+++ b/cppu/source/threadpool/threadpool.hxx
@@ -102,7 +102,7 @@ namespace cppu_threadpool {
ThreadAdmin();
~ThreadAdmin ();
- void add( rtl::Reference< ORequestThread > const & );
+ bool add( rtl::Reference< ORequestThread > const & );
void remove( rtl::Reference< ORequestThread > const & );
void join();
@@ -126,7 +126,7 @@ namespace cppu_threadpool {
void dispose( sal_Int64 nDisposeId );
void destroy( sal_Int64 nDisposeId );
- void addJob( const ::rtl::ByteSequence &aThreadId,
+ bool addJob( const ::rtl::ByteSequence &aThreadId,
bool bAsynchron,
void *pThreadSpecificData,
RequestFun * doRequest );
@@ -146,7 +146,7 @@ namespace cppu_threadpool {
ThreadAdmin & getThreadAdmin() { return m_aThreadAdmin; }
private:
- void createThread( JobQueue *pQueue, const ::rtl::ByteSequence &aThreadId, bool bAsynchron);
+ bool createThread( JobQueue *pQueue, const ::rtl::ByteSequence &aThreadId, bool bAsynchron);
ThreadIdHashMap m_mapQueue;