summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-05-23 03:20:40 +0000
committerDavid Robillard <d@drobilla.net>2015-05-23 03:20:40 +0000
commitdc5c579778d8b7b6f113c48d202f89c172abd591 (patch)
tree7a3a24f7acfab09c652ca466a46099766c8a02d3 /src/World.cpp
parent63d4ffa098e016a9680b4b1b1f209ab3bb3dbd8c (diff)
downloadingen-dc5c579778d8b7b6f113c48d202f89c172abd591.tar.gz
ingen-dc5c579778d8b7b6f113c48d202f89c172abd591.tar.bz2
ingen-dc5c579778d8b7b6f113c48d202f89c172abd591.zip
Prevent concurrent Sord access.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5683 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 4ebcaf8a..6686a9bf 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -217,6 +217,7 @@ public:
SPtr<Parser> parser;
SPtr<Store> store;
LilvWorld* lilv_world;
+ std::mutex rdf_mutex;
std::string jack_uuid;
};
@@ -251,6 +252,8 @@ char**& World::argv() { return _impl->argv; }
Configuration& World::conf() { return _impl->conf; }
Log& World::log() { return _impl->log; }
+std::mutex& World::rdf_mutex() { return _impl->rdf_mutex; }
+
Sord::World* World::rdf_world() { return _impl->rdf_world; }
LilvWorld* World::lilv_world() { return _impl->lilv_world; }