Fix deadlocks on MIDI record.
authorDavid Robillard <d@drobilla.net>
Thu, 22 Oct 2009 20:37:24 +0000 (20:37 +0000)
committerDavid Robillard <d@drobilla.net>
Thu, 22 Oct 2009 20:37:24 +0000 (20:37 +0000)
commit11f448917f622be991782b1d72b801359034ffa8
treeffc2571a6fb8d45b77ab20d976de91ece5f73fc4
parent20eb82676410d65ff4beac042339c04de1c3b8ea
Fix deadlocks on MIDI record.

More locking than is strictly necessary, but the assertion in MidiModel::write_lock is a nice check, at least for now...

git-svn-id: svn://localhost/ardour2/branches/3.0@5868 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/midi_model.h
libs/ardour/midi_model.cc
libs/ardour/smf_source.cc