Give the _sends member of InternalReturn its own mutex,
authorCarl Hetherington <carl@carlh.net>
Sun, 25 Mar 2012 20:30:26 +0000 (20:30 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 25 Mar 2012 20:30:26 +0000 (20:30 +0000)
commitca1de500041e2739cf623bc94b090ff82ee6052c
tree9879ef7815de3e47a993d9cb82986577d543d44f
parente7d2509ad9a40a4f75856b620cd366df6e454216
Give the _sends member of InternalReturn its own mutex,
rather than using the process lock to protect it.  Prevents
a deadlock when removing an aux send causes it to remove
itself from its return (#4712).

git-svn-id: svn://localhost/ardour2/branches/3.0@11760 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/internal_return.h
libs/ardour/internal_return.cc
libs/ardour/route.cc