Files
hakmem/core/tiny_c4_inline_slots.c

19 lines
625 B
C
Raw Normal View History

// tiny_c4_inline_slots.c - Phase 76-1: C4 Inline Slots TLS Variable Definition
//
// Goal: Define TLS variable for C4 inline slots
// Scope: C4 class only (512B per thread)
#include "box/tiny_c4_inline_slots_tls_box.h"
// ============================================================================
// TLS Variable Definition
// ============================================================================
// TLS instance (one per thread)
// Zero-initialized by default (all slots NULL, head=0, tail=0)
__thread TinyC4InlineSlots g_tiny_c4_inline_slots = {
.slots = {0}, // All NULL
.head = 0,
.tail = 0,
};