-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
P0discussionWe need to talk about this; there's nothing actionable here yetWe need to talk about this; there's nothing actionable here yetenhancementNew feature or requestNew feature or request
Description
Issue by ericniebler
Wednesday Oct 06, 2021 at 17:11 GMT
Originally opened as NVIDIA/stdexec#212
@lewissbaker writes about as_awaitable
:
I am still a little concerned about the potential for unbounded recursion and stack-overflow if someone awaits a sender that completes synchronously in a loop with this formulation.
Maybe this should conditionally schedule itself onto a trampoline_scheduler if the operation may potentially complete synchronously (e.g. if the
get_blocking()
CPO from P2257 was adopted and calling it returned something other thanasynchronous_completion_t
).
Metadata
Metadata
Assignees
Labels
P0discussionWe need to talk about this; there's nothing actionable here yetWe need to talk about this; there's nothing actionable here yetenhancementNew feature or requestNew feature or request