()
| 647 | results2 = [] |
| 648 | phase_num = 0 |
| 649 | def f(): |
| 650 | cond.acquire() |
| 651 | ready.append(phase_num) |
| 652 | result = cond.wait() |
| 653 | |
| 654 | cond.release() |
| 655 | results1.append((result, phase_num)) |
| 656 | |
| 657 | cond.acquire() |
| 658 | ready.append(phase_num) |
| 659 | |
| 660 | result = cond.wait() |
| 661 | cond.release() |
| 662 | results2.append((result, phase_num)) |
| 663 | |
| 664 | N = 5 |
| 665 | with Bunch(f, N): |
nothing calls this directly
no test coverage detected