Hacker News new | ask | show | jobs
by j_seigh 375 days ago
Thread local vars would be used with lazy initialization. Clean up might be a little tricky depending on what implementation of thread local you use. Thread local support is not as great as it should be.