diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 10:30:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-23 10:47:36 +0100 |
commit | d21fb1451e7260e179b90ed95664f9bebb67eed1 (patch) | |
tree | 47204c3fe3b0889d621a1753b4657d429c33fd55 /binaryurp/source/bridge.cxx | |
parent | 0a5dcfe4a1955879f9a0d08ab5f2e826e9d4c2b9 (diff) |
Adapted Reader/Writer to safer-to-use salhelper::Thread
Diffstat (limited to 'binaryurp/source/bridge.cxx')
-rw-r--r-- | binaryurp/source/bridge.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index a47f14e0aa6e..fec485d7a33f 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -106,7 +106,7 @@ extern "C" void SAL_CALL freeProxyCallback( static_cast< Proxy * >(pProxy)->do_free(); } -void joinThread(osl::Thread * thread) { +void joinThread(salhelper::Thread * thread) { assert(thread != 0); if (thread->getIdentifier() != osl::Thread::getCurrentIdentifier()) { thread->join(); @@ -239,9 +239,9 @@ void Bridge::start() { threadPool_ = uno_threadpool_create(); assert(threadPool_ != 0); writer_.set(new Writer(this)); - writer_->create(); + writer_->launch(); reader_.set(new Reader(this)); - reader_->create(); + reader_->launch(); } void Bridge::terminate() { |