9 lines
347 B
C
9 lines
347 B
C
|
|
// free_local_box.h - Box: Same-thread free to freelist (first-free publishes)
|
||
|
|
#pragma once
|
||
|
|
#include <stdint.h>
|
||
|
|
#include "hakmem_tiny_superslab.h"
|
||
|
|
|
||
|
|
// Perform same-thread freelist push. On first-free (prev==NULL), publishes via Ready/Mailbox.
|
||
|
|
void tiny_free_local_box(SuperSlab* ss, int slab_idx, TinySlabMeta* meta, void* ptr, uint32_t my_tid);
|
||
|
|
|