Module mnemos_alloc::heap

source ·
Expand description

The mnemos-alloc Heap types

Modules§

Structs§

Enums§

Statics§

  • Flag to inhibit allocs. This ensures that allocations are served in a FIFO order, so if there are 50 bytes left, then we get a sequence of alloc requests like [64, 10, 30], none will be served until there is room for 64. This prevents large allocations from being starved, at the cost of delaying small allocations that could potentially succeed
  • OOM_WAITER 🔒
    A WaitQueue for tasks that would like to allocate, but the allocator is currently in temporary OOM mode

Traits§

Functions§