()
| 46 | |
| 47 | |
| 48 | def get_thread_id() -> int: |
| 49 | ident = threading.current_thread().ident |
| 50 | if ident is None: |
| 51 | raise Exception("unreachable: couldn't get thread identifier") |
| 52 | return ident |
| 53 | |
| 54 | |
| 55 | # just used for logging purposes |
no outgoing calls
no test coverage detected