diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-19 18:03:36 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-19 18:03:36 +0100 |
commit | 8f3a13d998e812e1c997bd8485b0d5c7b7ff9809 (patch) | |
tree | 28c33f5fab4107a7b922a16a03b04f26a975b53e /libs/ardour/ardour/luaproc.h | |
parent | 93cfcd5abf3f5e64d02a82b7821ef1d8ad7a9cea (diff) |
hotfix for concurrent lua interpreter calls
ToDo: localize parameter descriptor in init()
Diffstat (limited to 'libs/ardour/ardour/luaproc.h')
-rw-r--r-- | libs/ardour/ardour/luaproc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h index d0560e9953..062aad9fff 100644 --- a/libs/ardour/ardour/luaproc.h +++ b/libs/ardour/ardour/luaproc.h @@ -142,6 +142,9 @@ private: int64_t _stats_max[2]; int64_t _stats_cnt; #endif + + mutable Glib::Threads::Mutex debug_hack; // prevent concurrent calls to _lua_dsp() and _lua_params() -- test/debug + }; class LIBARDOUR_API LuaPluginInfo : public PluginInfo |