summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-06 22:55:30 +0000
committerDavid Robillard <d@drobilla.net>2015-02-06 22:55:30 +0000
commit10669b73136183f70057917af311dadad46588b7 (patch)
tree6d81c015f9ab292f5d21b219504f28fdb027630f /ingen
parent8fb76ad09c062055170666de28661bd9da25f98e (diff)
downloadingen-10669b73136183f70057917af311dadad46588b7.tar.gz
ingen-10669b73136183f70057917af311dadad46588b7.tar.bz2
ingen-10669b73136183f70057917af311dadad46588b7.zip
Remove gthread dependency from engine.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5533 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Store.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/ingen/Store.hpp b/ingen/Store.hpp
index 33a7f2ea..4856ff4e 100644
--- a/ingen/Store.hpp
+++ b/ingen/Store.hpp
@@ -18,9 +18,7 @@
#define INGEN_STORE_HPP
#include <map>
-
-#undef nil
-#include <glibmm/thread.h>
+#include <mutex>
#include "raul/Deletable.hpp"
#include "raul/Noncopyable.hpp"
@@ -72,10 +70,10 @@ public:
const Raul::Symbol& symbol,
bool allow_zero=true);
- Glib::RWLock& lock() { return _lock; }
+ std::mutex& mutex() { return _mutex; }
private:
- Glib::RWLock _lock;
+ std::mutex _mutex;
};
} // namespace Ingen