summaryrefslogtreecommitdiff
path: root/sal/inc/osl/thread.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/osl/thread.hxx')
-rw-r--r--sal/inc/osl/thread.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/inc/osl/thread.hxx b/sal/inc/osl/thread.hxx
index 2ba156e21..2b140571a 100644
--- a/sal/inc/osl/thread.hxx
+++ b/sal/inc/osl/thread.hxx
@@ -149,7 +149,10 @@ public:
{
osl_yieldThread();
}
-
+
+ static inline void setName(char const * name) throw () {
+ osl_setThreadName(name);
+ }
virtual sal_Bool SAL_CALL schedule()
{