()
| 14 | lock.release() |
| 15 | |
| 16 | def job2(): |
| 17 | global A, lock |
| 18 | lock.acquire() |
| 19 | for i in range(10): |
| 20 | A += 10 |
| 21 | print('job2', A) |
| 22 | lock.release() |
| 23 | |
| 24 | if __name__ == '__main__': |
| 25 | lock = threading.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected