(now=True)
| 54 | |
| 55 | # noinspection PyPep8Naming |
| 56 | def Shutdown(now=True): |
| 57 | for pool in _pools: |
| 58 | if now: |
| 59 | pool.shutdown_children() |
| 60 | pool.cancel(None, True) |
| 61 | pool.shutdown(None, True) |
| 62 | else: |
| 63 | pool.cancel(None, False) |
| 64 | pool.shutdown() |
| 65 | |
| 66 | |
| 67 | atexit.register(Shutdown) |
nothing calls this directly
no test coverage detected