summaryrefslogtreecommitdiffstats
path: root/raul/Thread.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-11 23:54:17 +0000
committerDavid Robillard <d@drobilla.net>2012-05-11 23:54:17 +0000
commitff66c64ebad0761c726ef52b95ec4f2b41c9b853 (patch)
tree78aba9a5d86eb4bcf27c1d582a5bd017182bb739 /raul/Thread.hpp
parent80266e43b4d21ea5eb4376dbedad02b767244cf7 (diff)
downloadraul-ff66c64ebad0761c726ef52b95ec4f2b41c9b853.tar.gz
raul-ff66c64ebad0761c726ef52b95ec4f2b41c9b853.tar.bz2
raul-ff66c64ebad0761c726ef52b95ec4f2b41c9b853.zip
Improve some C++ style stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4361 a436a847-0d15-0410-975c-d299462d15a1
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();