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