| 35 | mutex m; |
| 36 | |
| 37 | void t3() |
| 38 | { |
| 39 | while (cnt > 0) { |
| 40 | lock_guard<mutex> lockGuard(m); |
| 41 | // m.lock(); |
| 42 | if (cnt > 0) { |
| 43 | --cnt; |
| 44 | cout << cnt << "\tt3" << endl; |
| 45 | } |
| 46 | // m.unlock(); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | void t4() |
| 51 | { |
nothing calls this directly
no outgoing calls
no test coverage detected