summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/threadpool/thread.cxx1
-rw-r--r--cppu/source/threadpool/threadpool.cxx1
-rw-r--r--cppu/source/threadpool/threadpool.hxx13
3 files changed, 8 insertions, 7 deletions
diff --git a/cppu/source/threadpool/thread.cxx b/cppu/source/threadpool/thread.cxx
index 3cab23d50aa2..f5ce3b81149b 100644
--- a/cppu/source/threadpool/thread.cxx
+++ b/cppu/source/threadpool/thread.cxx
@@ -32,6 +32,7 @@
#include "threadpool.hxx"
using namespace osl;
+using namespace rtl;
namespace cppu_threadpool {
diff --git a/cppu/source/threadpool/threadpool.cxx b/cppu/source/threadpool/threadpool.cxx
index 787977ff7421..b0e64ff8cd6a 100644
--- a/cppu/source/threadpool/threadpool.cxx
+++ b/cppu/source/threadpool/threadpool.cxx
@@ -35,6 +35,7 @@
using namespace ::std;
using namespace ::osl;
+using namespace ::rtl;
namespace cppu_threadpool
{
diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx
index cd8d7da2d18b..83f219e0960b 100644
--- a/cppu/source/threadpool/threadpool.hxx
+++ b/cppu/source/threadpool/threadpool.hxx
@@ -35,7 +35,6 @@
#include "jobqueue.hxx"
-using namespace ::rtl;
namespace cppu_threadpool {
class ORequestThread;
@@ -61,7 +60,7 @@ namespace cppu_threadpool {
typedef ::boost::unordered_map
<
- ByteSequence, // ThreadID
+ ::rtl::ByteSequence, // ThreadID
::std::pair < JobQueue * , JobQueue * >,
HashThreadId,
EqualThreadId
@@ -127,18 +126,18 @@ namespace cppu_threadpool {
void dispose( sal_Int64 nDisposeId );
void destroy( sal_Int64 nDisposeId );
- void addJob( const ByteSequence &aThreadId,
+ void addJob( const ::rtl::ByteSequence &aThreadId,
bool bAsynchron,
void *pThreadSpecificData,
RequestFun * doRequest );
- void prepare( const ByteSequence &aThreadId );
- void * enter( const ByteSequence &aThreadId, sal_Int64 nDisposeId );
+ void prepare( const ::rtl::ByteSequence &aThreadId );
+ void * enter( const ::rtl::ByteSequence &aThreadId, sal_Int64 nDisposeId );
/********
* @return true, if queue could be successfully revoked.
********/
- bool revokeQueue( const ByteSequence & aThreadId , bool bAsynchron );
+ bool revokeQueue( const ::rtl::ByteSequence & aThreadId , bool bAsynchron );
void waitInPool( rtl::Reference< ORequestThread > const & pThread );
@@ -147,7 +146,7 @@ namespace cppu_threadpool {
ThreadAdmin & getThreadAdmin() { return m_aThreadAdmin; }
private:
- void createThread( JobQueue *pQueue, const ByteSequence &aThreadId, bool bAsynchron);
+ void createThread( JobQueue *pQueue, const ::rtl::ByteSequence &aThreadId, bool bAsynchron);
ThreadIdHashMap m_mapQueue;