Replies: 2 comments
-
This comment doesn't address the question and only outlines what the plans for a standard scope are: The description of |
Beta Was this translation helpful? Give feedback.
-
Thanks, I noticed that spawn is implemented as a method here and not an algorithm like in P3149r6, but I didn't realize that there are still questions on how allocators would be used. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is it possible to use
async_scope::spawn
and allocating the operation state using a custom allocator? I tried passing an environment that overrides theget_allocator
query but it seems to be ignored.Looking at the code, it seems that spawn always uses
new
to allocate the operation state. See here.Thanks,
Haggai
Beta Was this translation helpful? Give feedback.
All reactions