Opened 8 years ago
Last modified 5 years ago
#10162 new Feature Requests
ASIO's spawn should accept a stack allocator parameter
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | coroutine, stack, valgrind | Cc: |
Description
It is possible to pass coroutine attributes to "spawn", but not stack allocators.
Stack allocators are for the moment the only way to have valgrind-aware stacks. Without it, it is nearly impossible to use valgrind as soon as you have a coroutine. So it is quite critical.
Note:
See TracTickets
for help on using tickets.
This is possible with boost.coroutine2 - if boost.asio accepts pull-request https://github.com/boostorg/asio/pull/52 you can pass stack allocators.