diff options
Diffstat (limited to 'raul/Thread.hpp')
-rw-r--r-- | raul/Thread.hpp | 5 |
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(); |