Allocation and async code
⚓ Rust 📅 2025-07-04 👤 surdeus 👁️ 17I have no real reason beyond my curiosity about this. We are allowed to allocate and free memory in async code which can ultimately result in a system call. What guarantees does the allocator have to provide? Is it possible for an allocation or deallocation to indefinitely block a thread (and all the tasks waiting on it)?
2 posts - 2 participants
🏷️ rust_feed