示例#1
0
 public override Task NotifyAll(bool state)
 {
     return(Task.WhenAll(LeftSynchronizer.NotifyAll(state), RightSynchronizer.NotifyAll(state)));
 }
示例#2
0
        public override async Task NotifyAll(bool state)
        {
            await LeftSynchronizer.NotifyAll(state);

            await RightSynchronizer.NotifyAll(state);
        }