public override Task NotifyAll(bool state) { return(Task.WhenAll(LeftSynchronizer.NotifyAll(state), RightSynchronizer.NotifyAll(state))); }
public override async Task NotifyAll(bool state) { await LeftSynchronizer.NotifyAll(state); await RightSynchronizer.NotifyAll(state); }