add a method to SerializedRCUManager to release the lock when no update is required

This commit is contained in:
Paul Davis 2021-06-13 07:58:45 -06:00
parent e1495100a8
commit 7980ea4d27

View file

@ -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);