RcppParallel with TBB not releasing threads

Đang mở
#181 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, r

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
C++
Star
173
Fork
60
Merge trung bình
1 giờ 55 phút
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RcppCore/RcppParallel

Tất cả issue của RcppCore/RcppParallel

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.