RcppParallel with TBB not releasing threads

Aperta
#181 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, r

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
C++
Stelle
173
Fork
60
Merge medio
1h 55m
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RcppCore/RcppParallel

Tutte le issue di RcppCore/RcppParallel

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.