tiny.alloc.beginProcessAllocatorTeardown
Defined in tiny.alloc.
Opens the teardown phase, so a free that follows counts as no violation and a caller can release the storage taken at startup.
Source
Source: lib/alloc/src/policy.zig:88
zig
/// Opens the teardown phase, so a free that follows counts as no violation and/// a caller can release the storage taken at startup. A caller makes this call/// after steady work has stopped and before releasing the storage that lives as/// long as the process. Under the `off` mode the call does nothing.pub fn beginProcessAllocatorTeardown() void { if (comptime process.mode == .off) return; _ = platformProcessAllocator(); process.beginTeardown();}Source: lib/alloc/src/root.zig:60
zig
pub const beginProcessAllocatorTeardown = policy.beginProcessAllocatorTeardown;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |