TOCTOU - the gap between checking and usingJun 15, 2026·2 min readYou peek into your wallet at the counter, see a ₹500 note, and decide "yes, I can afford this". You walk to billing, but by then your friend…securityrace conditionconcurrencyprogramming