From a8f0c3255f6f645913f57748d34db640bc7adcc2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 27 Aug 2012 04:08:48 +0000 Subject: fix LV2 worker start worker thread after _sem and _exit have been initialized. stop thread when plugin is removed. git-svn-id: svn://localhost/ardour2/branches/3.0@13145 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/worker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/worker.h') diff --git a/libs/ardour/ardour/worker.h b/libs/ardour/ardour/worker.h index fe278b9618..cdc3d1d06d 100644 --- a/libs/ardour/ardour/worker.h +++ b/libs/ardour/ardour/worker.h @@ -77,12 +77,12 @@ private: void run(); Workee* _workee; - Glib::Threads::Thread* _thread; RingBuffer* _requests; RingBuffer* _responses; uint8_t* _response; PBD::Semaphore _sem; bool _exit; + Glib::Threads::Thread* _thread; }; } // namespace ARDOUR -- cgit v1.2.3