Preview
Once you accept that LRU needs a lock, the next interview trap is where the lock goes. Many candidates protect individual steps but leave gaps between them. Those gaps are compound-operation races — check-then-act bugs where another thread invalidates your check before your ac...
Sign in to read the full chapter.
Checking access…