Files
hakmem/core/tiny_c2_local_cache.c

18 lines
702 B
C
Raw Normal View History

// tiny_c2_local_cache.c - Phase 79-1: C2 Local Cache TLS Variable Definition
//
// Goal: Define TLS variable for C2 local cache ring buffer
// Scope: C2 class only
// Design: Zero-initialized __thread variable
#include "box/tiny_c2_local_cache_tls_box.h"
// ============================================================================
// C2 Local Cache: TLS Variable Definition
// ============================================================================
// TLS ring buffer for C2 local cache
// Automatically zero-initialized for each thread
// Name: g_tiny_c2_local_cache
// Size: 512B per thread (64 slots × 8 bytes + 64 bytes padding)
__thread TinyC2LocalCache g_tiny_c2_local_cache = {0};