18 lines
705 B
C
18 lines
705 B
C
|
|
// tiny_c3_inline_slots.c - Phase 77-1: C3 Inline Slots TLS Variable Definition
|
|||
|
|
//
|
|||
|
|
// Goal: Define TLS variable for C3 inline ring buffer
|
|||
|
|
// Scope: C3 class only
|
|||
|
|
// Design: Zero-initialized __thread variable
|
|||
|
|
|
|||
|
|
#include "box/tiny_c3_inline_slots_tls_box.h"
|
|||
|
|
|
|||
|
|
// ============================================================================
|
|||
|
|
// C3 Inline Slots: TLS Variable Definition
|
|||
|
|
// ============================================================================
|
|||
|
|
|
|||
|
|
// TLS ring buffer for C3 inline slots
|
|||
|
|
// Automatically zero-initialized for each thread
|
|||
|
|
// Name: g_tiny_c3_inline_slots
|
|||
|
|
// Size: 2KB per thread (256 slots × 8 bytes + 64 bytes padding)
|
|||
|
|
__thread TinyC3InlineSlots g_tiny_c3_inline_slots = {0};
|