summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/writer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/writer.cxx')
-rw-r--r--binaryurp/source/writer.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 843f667cfcbd..f5ded2927fea 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -77,10 +77,10 @@ Writer::Item::Item(
{}
Writer::Writer(rtl::Reference< Bridge > const & bridge):
- bridge_(bridge), marshal_(bridge, state_), stop_(false)
+ Thread("binaryurpWriter"), bridge_(bridge), marshal_(bridge, state_),
+ stop_(false)
{
OSL_ASSERT(bridge.is());
- acquire();
}
void Writer::sendDirectRequest(
@@ -148,8 +148,7 @@ void Writer::stop() {
Writer::~Writer() {}
-void Writer::run() {
- setName("binaryurpWriter");
+void Writer::execute() {
try {
unblocked_.wait();
for (;;) {
@@ -199,10 +198,6 @@ void Writer::run() {
bridge_->terminate();
}
-void Writer::onTerminated() {
- release();
-}
-
void Writer::sendRequest(
rtl::ByteSequence const & tid, rtl::OUString const & oid,
css::uno::TypeDescription const & type,