zig/lib/std/heap
Jacob G-W 841b54f5e3 std: add SbrkAllocator and use it for Plan 9
Implements issue #6451.
This was needed to support allocation on Plan 9 and now other operating
systems like DOS can also use it.

It is a modified version of the WasmAllocator since wasm also uses a
sbrk-esque allocation system.

This commit also adds the necessary system bits for sbrk to work on plan 9.
2023-08-02 17:39:52 -04:00
..
arena_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
general_purpose_allocator.zig std: fix doc comment of GPA deinit 2023-07-03 01:14:20 -07:00
log_to_writer_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
logging_allocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
memory_pool.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
PageAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
sbrk_allocator.zig std: add SbrkAllocator and use it for Plan 9 2023-08-02 17:39:52 -04:00
ThreadSafeAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
WasmAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
WasmPageAllocator.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00