Guest User

Untitled

a guest
Oct 8th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while (ItemsCompleted < PayloadItems.Count) {
  2.     do {
  3.             NextSource();
  4.     } while (ItemsCompleted < PayloadItems.Count && ItemCompletionRegister[Index]);
  5.     Debug.Print(DebugUtility.CreateReportString("PayloadMux", "Execute", "Selected stream",
  6.             Index));
  7.     ExecuteOperation();
  8. }
  9.  
  10. protected override sealed void NextSource()
  11. {
  12.     Index = EntropySource.NextPositive(0, PayloadItems.Count - 1);
  13.     Debug.Print(DebugUtility.CreateReportString("SimplePayloadMux", "NextSource", "Generated index",
  14.         Index));  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment