From d21fb1451e7260e179b90ed95664f9bebb67eed1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Feb 2012 10:30:08 +0100 Subject: Adapted Reader/Writer to safer-to-use salhelper::Thread --- binaryurp/source/bridge.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binaryurp/source/bridge.cxx') 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() { -- cgit