summaryrefslogtreecommitdiffstats
path: root/raul/Mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'raul/Mutex.h')
-rw-r--r--raul/Mutex.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/raul/Mutex.h b/raul/Mutex.h
index 57dedba..bf16d3c 100644
--- a/raul/Mutex.h
+++ b/raul/Mutex.h
@@ -18,13 +18,14 @@
#define RAUL_MUTEX_H
#include <pthread.h>
+#include <boost/utility.hpp>
-/** Trivial (but pretty) wrapper around POSIX Mutexes (zero overhead).
+/** Trivial (zero overhead) wrapper around POSIX Mutexes.
*
* \ingroup raul
*/
-class Mutex {
+class Mutex : boost::noncopyable {
public:
inline Mutex() { pthread_mutex_init(&_mutex, NULL); }