// adopt_gate_box.h - Box: Must-adopt gate (Ready→Mailbox→Registry) #pragma once #include #include "hakmem_tiny_superslab.h" typedef struct TinyTLSSlab TinyTLSSlab; // Try to adopt a SuperSlab for a class (single-pass, small-window) // Returns adopted SuperSlab* or NULL SuperSlab* adopt_gate_try(int class_idx, TinyTLSSlab* tls);