Skip to content

DOC minimally discuss inconsistencies in openMP's limitation thread locality#209

Open
itamarst wants to merge 6 commits into
joblib:masterfrom
itamarst:207-docs
Open

DOC minimally discuss inconsistencies in openMP's limitation thread locality#209
itamarst wants to merge 6 commits into
joblib:masterfrom
itamarst:207-docs

Conversation

@itamarst

Copy link
Copy Markdown

Fixes #207

@itamarst itamarst changed the title Document current limitations and inconsistencies Minimally document current limitations and inconsistencies Jun 17, 2026

@tomMoral tomMoral left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tomMoral tomMoral changed the title Minimally document current limitations and inconsistencies DOC minimally discuss inconsistencies in openMP's limitation thread locality Jun 18, 2026

@tomMoral tomMoral left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reading this, a few extra comments.
In particular, I am a bit confused by the thread pool wording (for me threadpool are a specific pattern, while the behavior is inconsistent as soon as you use multiple threads no?)

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
@itamarst

Copy link
Copy Markdown
Author

OK, how's that?

Also, I talked about thread pools because the most likely case where this happens (certainly what is motivating this) is switching from process pools to thread pools. But there may be other use cases I haven't thought of. Have you seen code where people would start one-off threads to run these sort of things in parallel?

@itamarst itamarst requested a review from tomMoral June 18, 2026 12:22
@itamarst

Copy link
Copy Markdown
Author

And did another pass, maybe now it's understandable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation incorrectly states that OpenMP limits are process-wide, when they are actually thread-specific

2 participants