From cb21a7b08354134307637eb822a3c1ad9cb7ed23 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Jan 2008 19:52:36 +0000 Subject: RAUL code cleanup. git-svn-id: http://svn.drobilla.net/lad/raul@999 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Command.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'raul/Command.hpp') diff --git a/raul/Command.hpp b/raul/Command.hpp index 296af10..572d3d9 100644 --- a/raul/Command.hpp +++ b/raul/Command.hpp @@ -28,13 +28,14 @@ namespace Raul { * * This is useful for calling simple parameterless commands from another thread * (OSC, GUI, etc) and waiting on the result. Works well for coarsely timed - * events. Realtime safe on the commend executing side. + * events (e.g. 'play' clicked in a GUI). + * + * Realtime safe on the commend executing side. * * \ingroup raul */ class Command : boost::noncopyable { public: - inline Command() : _sem(0) {} /** Caller context */ @@ -42,7 +43,7 @@ public: /** Execution context */ inline bool pending() { return _sem.has_waiter(); } - inline void finish() { _sem.post(); } + inline void finish() { _sem.post(); } private: Semaphore _sem; -- cgit v1.2.1