예제 #1
0
 private async void FirstRoutine(FifoCoordinator coordinator)
 {
     Fifo.Log("Entered First");
     
     await coordinator.AtEndOfQueue();
     Fifo.Log("Back to First");
     
     await coordinator.AtEndOfQueue();
     Fifo.Log("Ending First");
 }
예제 #2
0
 private async void ThirdRooutine(FifoCoordinator coordinator)
 {
     Fifo.Log("Entered Third");
     
     await coordinator.AtEndOfQueue();
     Fifo.Log("Back to Third");
     
     await coordinator.AtEndOfQueue();
     Fifo.Log("Back again to Third");
     
     await coordinator.AtEndOfQueue();
     Fifo.Log("Ending Third");
 }
예제 #3
0
 private async void SecondRoutine(FifoCoordinator coordinator)
 {
     Fifo.Log("Entered Second");
     
     await coordinator.AtEndOfQueue();
     
     Fifo.Log("Ending Second");
 }