14#ifndef INCLUDED_SALHELPER_THREAD_HXX
15#define INCLUDED_SALHELPER_THREAD_HXX
21#include "osl/thread.hxx"
54 using osl::Thread::getIdentifier;
55 using osl::Thread::join;
56 using osl::Thread::schedule;
57 using osl::Thread::terminate;
64 using osl::Thread::getCurrentIdentifier;
65 using osl::Thread::wait;
66 using osl::Thread::yield;
68 static void*
operator new(std::size_t
size)
70 return SimpleReferenceObject::operator
new(
size);
73 static void operator delete(
void* pointer) { SimpleReferenceObject::operator
delete(pointer); }
83 virtual
void execute() = 0;
86 virtual
void SAL_CALL run() SAL_OVERRIDE;
88 virtual
void SAL_CALL onTerminated() SAL_OVERRIDE;
A simple base implementation for reference-counted objects.
A safe encapsulation of ::osl::Thread.
#define SALHELPER_DLLPUBLIC