SHOW:
|
|
- or go back to the newest paste.
| 1 | while (ItemsCompleted < PayloadItems.Count) {
| |
| 2 | - | do {
|
| 2 | + | do {
|
| 3 | - | NextSource(); |
| 3 | + | NextSource(); |
| 4 | - | } while (ItemsCompleted < PayloadItems.Count && ItemCompletionRegister[Index]); |
| 4 | + | } while (ItemsCompleted < PayloadItems.Count && ItemCompletionRegister[Index]); |
| 5 | - | Debug.Print(DebugUtility.CreateReportString("PayloadMux", "Execute", "Selected stream",
|
| 5 | + | Debug.Print(DebugUtility.CreateReportString("PayloadMux", "Execute", "Selected stream",
|
| 6 | - | Index)); |
| 6 | + | Index)); |
| 7 | - | ExecuteOperation(); |
| 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 | } |