| 19 | } }; |
| 20 | |
| 21 | void Work(int i) |
| 22 | { |
| 23 | for (int j = 9; ; j--) |
| 24 | { |
| 25 | results[i - 1] = i * j; |
| 26 | if (j == i) |
| 27 | break; |
| 28 | barrier.arrive_and_wait(); |
| 29 | } |
| 30 | barrier.arrive_and_drop(); |
| 31 | } |
| 32 | |
| 33 | |
| 34 | int main() |
nothing calls this directly
no outgoing calls
no test coverage detected