From 8f3a13d998e812e1c997bd8485b0d5c7b7ff9809 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 19 Mar 2016 18:03:36 +0100 Subject: hotfix for concurrent lua interpreter calls ToDo: localize parameter descriptor in init() --- libs/ardour/ardour/luaproc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/ardour') 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 -- cgit v1.2.3