Looking for a pool based allocator
@duaneelliss
·
2026-04-24
·
via The Rust Programming Language Forum - Latest posts
I need some means to allocate different things from different memory pools or different heaps. when I allocate an object - I need to allocate it from a specific region or pool of memory. The practical example is: I have a multi-core system (not something like a QuadCore CPU - something else) - there is a big fat "quad-core ARM64" that is the main processor But each SUB processor gets its own 64MEG region of memory - If the message is for CPU A, I need to allocate from the CPU A memory space, same for CPU B and CPU C they would allocate various structures from different pools. How can I specify what pool a RUST struct comes from? I can manage releasing the structure thats easy.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。