summaryrefslogtreecommitdiffhomepage
path: root/compat/thread-name.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-29 15:52:24 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-29 15:52:24 +0200
commitb061108a1e98ed1d1f869f4e71fe35373515b2a0 (patch)
treeeebfaa427b31a07083d863b8d13e8ec56d543971 /compat/thread-name.hpp
parent00a1a3d81b82a411cd8cbdf5a480c4007b2b60bc (diff)
compat: allow naming threads for debugging
Diffstat (limited to 'compat/thread-name.hpp')
-rw-r--r--compat/thread-name.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/compat/thread-name.hpp b/compat/thread-name.hpp
new file mode 100644
index 00000000..21256003
--- /dev/null
+++ b/compat/thread-name.hpp
@@ -0,0 +1,6 @@
+#pragma once
+#include "export.hpp"
+#include <QString>
+namespace portable {
+ OTR_COMPAT_EXPORT void set_curthread_name(const QString& name);
+}