mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
add a method to SerializedRCUManager to release the lock when no update is required
This commit is contained in:
parent
e1495100a8
commit
7980ea4d27
1 changed files with 7 additions and 0 deletions
|
|
@ -235,6 +235,13 @@ public:
|
|||
return ret;
|
||||
}
|
||||
|
||||
void no_update () {
|
||||
/* just releases the lock, in the event that no changes are
|
||||
made to a write copy.
|
||||
*/
|
||||
_lock.unlock ();
|
||||
}
|
||||
|
||||
void flush ()
|
||||
{
|
||||
Glib::Threads::Mutex::Lock lm (_lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue