summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-24 06:22:07 +0000
committerDavid Robillard <d@drobilla.net>2011-09-24 06:22:07 +0000
commit2e110d02aef6e36698edb7c7db8542db481de2e0 (patch)
tree976e22e9228e505c41d8b0a7577953f884fe2b47
parent1b3c1cdf0b70f6c10538c139819f619346c40753 (diff)
downloadingen-2e110d02aef6e36698edb7c7db8542db481de2e0.tar.gz
ingen-2e110d02aef6e36698edb7c7db8542db481de2e0.tar.bz2
ingen-2e110d02aef6e36698edb7c7db8542db481de2e0.zip
Fix event throughput for non-creating set events.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3493 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/events/SetMetadata.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp
index efa57198..bef968fc 100644
--- a/src/server/events/SetMetadata.cpp
+++ b/src/server/events/SetMetadata.cpp
@@ -257,6 +257,10 @@ SetMetadata::pre_process()
_types.push_back(op);
}
+ if (!_create_event) {
+ _lock.release();
+ }
+
QueuedEvent::pre_process();
}
@@ -378,7 +382,9 @@ SetMetadata::post_process()
break;
}
- _lock.release();
+ if (_create_event) {
+ _lock.release();
+ }
}
} // namespace Server