AdvancedVocabulary#software-architecture#developer-tools#backend

Double-Checked Locking Vocabulary

Learn the vocabulary of checking initialization twice around a lock to skip its cost once already initialized.

0 / 5 completed
1 / 5
At standup, a dev mentions a pattern that checks whether a shared resource is already initialized once without acquiring any lock, and only if it isn't, acquires the lock and checks again before actually initializing it, specifically to avoid paying the lock's cost on every single call. What is this pattern called?