()
| 56 | b = threading.Barrier(nb_threads) |
| 57 | |
| 58 | def access_shared_instance(): |
| 59 | b.wait() |
| 60 | for _ in range(1000): |
| 61 | m.EmptyStruct.SharedInstance # noqa: B018 |
| 62 | |
| 63 | threads = [ |
| 64 | threading.Thread(target=access_shared_instance) for _ in range(nb_threads) |
nothing calls this directly
no outgoing calls
no test coverage detected