Sanyam Brar
WorkWriting

Writing

25 Aug 2026c++concurrencybtop

btop's broken lock

Following a btop crash led me to a lock that could let two threads in at once. From there I traced another race through Runner::active.

Sanyam BrarSite source