The sender attributes of `then` and `upon_xxx` incorrectly answer queries for `get_completion_scheduler` and `get_completion_domain`

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Start by locating the sender adaptors then, upon_error, and upon_stopped, then trace how they answer get_completion_scheduler and get_completion_domain queries. Compare the set_value case with the upstream completion channel each adaptor handles, especially for upon_error. Done when those queries report the scheduler and domain associated with the completion channel that can invoke the receiver.

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

Mô tả

The sender attributes of then, upon_error, and upon_stopped incorrectly answer queries for get_completion_scheduler and get_completion_domain.
For example, in the current implementation, the set_value completion scheduler and completion domain of sndr | ex::upon_error([](...) noexcept { ... }) are reported as sndr's set_value completion scheduler and completion domain. However, this is incorrect; it should instead consider sndr's set_error completion scheduler and completion domain, because the receiver's set_value may complete on an execution agent of sndr's set_error completion scheduler.

Ngôn ngữ chính
C++
Star
2.5k
Fork
284
Merge trung bình
2 ngày 32 phút
Pull request đã merge (30 ngày)
88

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 NVIDIA/stdexec

Tất cả issue của NVIDIA/stdexec

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.