diff options
author | David Robillard <d@drobilla.net> | 2012-05-15 01:52:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-15 01:52:08 +0000 |
commit | 22209796627acfef17c53d4cf523eed3daa26c2b (patch) | |
tree | d800c6ba96f7f8f6673a4e7da6409760001095af /src/server/events/CreatePatch.hpp | |
parent | f4f72247ae1f5eac8610a145c119accf0b6097d9 (diff) | |
download | ingen-22209796627acfef17c53d4cf523eed3daa26c2b.tar.gz ingen-22209796627acfef17c53d4cf523eed3daa26c2b.tar.bz2 ingen-22209796627acfef17c53d4cf523eed3daa26c2b.zip |
Eliminate long-duration event locks by generated responses in pre_process().
This also fixes some correctness issues, since the state at pre_process() time is actually the state that needs to be broadcast to clients.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4416 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/CreatePatch.hpp')
-rw-r--r-- | src/server/events/CreatePatch.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/events/CreatePatch.hpp b/src/server/events/CreatePatch.hpp index 355a4698..0747ec06 100644 --- a/src/server/events/CreatePatch.hpp +++ b/src/server/events/CreatePatch.hpp @@ -48,13 +48,13 @@ public: void post_process(); private: - const Raul::Path _path; - PatchImpl* _patch; - PatchImpl* _parent; - CompiledPatch* _compiled_patch; - int _poly; - + const Raul::Path _path; Resource::Properties _properties; + Resource::Properties _update; + PatchImpl* _patch; + PatchImpl* _parent; + CompiledPatch* _compiled_patch; + int _poly; }; } // namespace Events |