disable_implicit_threading

lsst.utils.threads.disable_implicit_threading() → None

Do whatever is necessary to try to prevent implicit threading.

Notes

Explicitly limits the number of threads allowed to be used by numexpr and attempts to limit the number of threads in all APIs supported by the threadpoolctl package.