mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
CP.1: Simplify example, show good example, expand on rationale (#1615)
"Make your code thread-safe" usually means "don't use global state." Advice to replace global state with `thread_local` state is usually misguided. https://quuxplusone.github.io/blog/2018/11/14/fiber-local-storage/
This commit is contained in:
@@ -97,6 +97,7 @@ completers
|
||||
componentization
|
||||
composability
|
||||
composable
|
||||
ComputationCache
|
||||
conceptsTS
|
||||
cond
|
||||
const
|
||||
|
||||
Reference in New Issue
Block a user