From dc5c579778d8b7b6f113c48d202f89c172abd591 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 May 2015 03:20:40 +0000 Subject: Prevent concurrent Sord access. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5683 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/ingen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ingen') diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index 12a17e99..357f42b5 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -177,6 +177,8 @@ main(int argc, char** argv) engine_interface->get(Raul::URI("ingen:/plugins")); engine_interface->get(Node::root_uri()); + + std::lock_guard lock(world->rdf_mutex()); world->parser()->parse_file( world, engine_interface.get(), graph, parent, symbol); } -- cgit v1.2.1