We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d602b commit e93cf92Copy full SHA for e93cf92
src/blosc2/core.py
@@ -892,6 +892,11 @@ def free_resources() -> None:
892
temporary space. You can use this function to release these
893
resources when you are not going to use Blosc for a long time.
894
895
+ The number of threads can also be set via the ``BLOSC_NTHREADS`` environment
896
+ variable (e.g., ``export BLOSC_NTHREADS=1``). Additionally, you may want to set
897
+ ``NUMEXPR_NUM_THREADS`` as well since numexpr is used under
898
+ the hood (e.g., ``export NUMEXPR_NUM_THREADS=1``).
899
+
900
Examples
901
--------
902
>>> blosc2.free_resources()
0 commit comments