19 lines
624 B
C
19 lines
624 B
C
|
|
// tiny_c5_inline_slots.c - Phase 75-2: C5 Inline Slots TLS Variable Definition
|
||
|
|
//
|
||
|
|
// Goal: Define TLS variable for C5 inline slots
|
||
|
|
// Scope: C5 class only (1KB per thread)
|
||
|
|
|
||
|
|
#include "box/tiny_c5_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 TinyC5InlineSlots g_tiny_c5_inline_slots = {
|
||
|
|
.slots = {0}, // All NULL
|
||
|
|
.head = 0,
|
||
|
|
.tail = 0,
|
||
|
|
};
|