RcppParallel with TBB not releasing threads
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- distributed-systems, performance
Research direction
Start by running the RcppParallel gallery's distance matrix example with the TBB backend on macOS or Linux and compare it with tinythread. Investigate the TBB thread lifetime and shutdown behavior; done means determining whether unreleased threads are intentional and identifying or documenting an accepted release mechanism.
Written by the indexing model from the issue text.
Description
For example, running the distance matrix example in the RcppParallel gallery with TBB (but not tinythread) as the backend results in unreleased threads after the program finishes. Tested on both macOS and Linux platforms -- I am assuming this is broadly replicable, but if not, am happy to provide specifics.
Is this behavior intentional and if so, is there an accepted way to release the threads?
- Dominant language
- C++
- Stars
- 173
- Forks
- 60
- Avg merge
- 1h 55m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RcppCore/RcppParallel
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
RcppCore/RcppParallel#239 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
RcppCore/RcppParallel#228 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
RcppCore/RcppParallel#227 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
RcppCore/RcppParallel#216 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
RcppCore/RcppParallel#213 ·
All issues in RcppCore/RcppParallel
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·