summaryrefslogtreecommitdiffstats
path: root/raul/Thread.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Thread.hpp')
-rw-r--r--raul/Thread.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/raul/Thread.hpp b/raul/Thread.hpp
index bc469f4..84c79a7 100644
--- a/raul/Thread.hpp
+++ b/raul/Thread.hpp
@@ -46,6 +46,11 @@ public:
static Thread* create_for_this_thread(const std::string& name="");
+ /** Return the calling thread.
+ *
+ * If the calling thread does not yet have a Thread object associated with
+ * it, one will be created.
+ */
static Thread& get();
virtual void start();