summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--salhelper/inc/salhelper/thread.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/salhelper/inc/salhelper/thread.hxx b/salhelper/inc/salhelper/thread.hxx
index 619ac449ef17..84d37327a4df 100644
--- a/salhelper/inc/salhelper/thread.hxx
+++ b/salhelper/inc/salhelper/thread.hxx
@@ -73,6 +73,13 @@ public:
using osl::Thread::schedule;
using osl::Thread::terminate;
+ // While the below static member functions should arguably always be called
+ // with qualified (osl::Thread) names, at least MSVC still would complain
+ // that they are inaccessible from within derivations of salhelper::Thread:
+ using osl::Thread::getCurrentIdentifier;
+ using osl::Thread::wait;
+ using osl::Thread::yield;
+
static inline void * operator new(std::size_t size)
{ return SimpleReferenceObject::operator new(size); }