summaryrefslogtreecommitdiffstats
path: root/raul/Condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Condition.h')
-rw-r--r--raul/Condition.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/raul/Condition.h b/raul/Condition.h
index 0f20c29..5517225 100644
--- a/raul/Condition.h
+++ b/raul/Condition.h
@@ -18,15 +18,16 @@
#define RAUL_CONDITION_H
#include <pthread.h>
+#include <boost/utility.hpp>
-/** Trivial (but pretty) wrapper around POSIX Conditions (zero overhead).
+/** Trivial (zero overhead) wrapper around POSIX Conditions.
*
* A semaphore that isn't a counter, is slow, and not realtime safe. Yay.
*
* \ingroup raul
*/
-class Condition {
+class Condition : boost::noncopyable {
public:
inline Condition() { pthread_cond_init(&_cond, NULL); }