~/lightning

Lightning Talk: Clang TSA - A Note about Thread Safety

Lightningat C++ on Sea 2025 · 2025-06-23..06-25· [security]
links:none on file
slides:none on file

Clang Thread Safety Analysis (TSA) detects missing locks at compile time by reading annotations like GUARDED_BY and function contracts such as acquire/release, catching concurrent push_back errors that otherwise abort at runtime. It requires Clang and annotated headers (libc++ on Linux or macOS, build-your-own libc++ on Windows) and works best when types are annotated; it finds many issues early, is used hundreds of times in Chrome, but misses patterns it cannot model and needs developer effort to annotate code.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.