Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
skipped when OpenBLAS uses the OpenMP threading layer, as documented.
https://github.com/joblib/threadpoolctl/pull/283

- Dropped official support for Python 3.9.
https://github.com/joblib/threadpoolctl/pull/255

3.7.0 (2026-09-15)
==================
Expand Down Expand Up @@ -104,9 +106,6 @@
closures that can abort after ``os.fork()`` on some libffi builds.
https://github.com/joblib/threadpoolctl/pull/242

- Dropped official support for Python 3.9.
https://github.com/joblib/threadpoolctl/pull/255

3.6.0 (2025-03-13)
==================

Expand Down
16 changes: 10 additions & 6 deletions threadpoolctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,9 +1213,11 @@ class threadpool_limits(_ThreadpoolLimiter):
the supported libraries to `limit`. This function works for libraries that
are already loaded in the interpreter and can be changed dynamically.

This effect is global and impacts the whole Python process. There is no thread level
isolation as these libraries do not offer thread-local APIs to configure the number
of threads to use in nested parallel calls.
This effect is thread-local whenever possible but this is not guaranteed
and actual behavior can depend on the controlled libraries. Notably,
OpenBLAS built with the "windows" or "pthreads" threading layers uses a
process-wide thread pool instead of independently controlled thread pools
per calling threads.

Parameters
----------
Expand Down Expand Up @@ -1376,9 +1378,11 @@ def limit(self, *, limits=None, user_api=None):
the supported libraries to `limits`. This function works for libraries that
are already loaded in the interpreter and can be changed dynamically.

This effect is global and impacts the whole Python process. There is no thread
level isolation as these libraries do not offer thread-local APIs to configure
the number of threads to use in nested parallel calls.
This effect is thread-local whenever possible but this is not guaranteed
and actual behavior can depend on the controlled libraries. Notably,
OpenBLAS built with the "windows" or "pthreads" threading layers uses a
process-wide thread pool instead of independently controlled thread pools
per calling threads.

Parameters
----------
Expand Down
Loading