[#277] replication/driver: enforce ordering during initial replication in order to support encrypted send

fixes #277
This commit is contained in:
Christian Schwarz
2020-04-07 23:45:20 +02:00
parent b4abebce00
commit 0280727985
3 changed files with 137 additions and 8 deletions
+5
View File
@@ -40,3 +40,8 @@ func (l *L) DropWhile(f func()) {
defer l.Unlock().Lock()
f()
}
func (l *L) HoldWhile(f func()) {
defer l.Lock().Unlock()
f()
}