⬇ Cite as BibTeX (.bib) · ⬇ CSL-JSON (Zotero / Pandoc) · ⬇ RIS (EndNote) · blake3:8d990163f925914a

Encoding unit — one grounded idea

1 Static initialization with a null check can lead to a data race when multiple threads simultaneously detect a null pointer and attempt to create a new object.
“two threads come in both start executing this code they both see null they both go in construct a copy of an object now one of them leaks because you you only have one pointer the other assignment got stomped”
spoken · 680s · 2015-10-09 · en · CppCon · CppCon 2015: Fedor Pikus PART 1 “Live Lock-Free or Deadlock (Practical Lock-free…
id: cae2643130bf0fe5
concepts in this idea