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
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100