Implement an async allocator
maikel opened this issue · 0 comments
maikel commented
An async_allocator<T>
provides functions of an allocate but returning senders instead of the values.
The defaulted async allocator could be one that blockingly calls std::allocator<T>
. But we could implement an async memory pool where an allocate sender completes when a suitable memory chunk gets available.
This can be used in an async::accept
algorithm