#119 translate CRNL to NL

This commit is contained in:
Rich Prohaska 2013-12-16 15:12:51 -05:00
parent 6721a2c1e7
commit ad2f063d99

View file

@ -97,7 +97,7 @@ PATENT RIGHTS GRANT:
// #5978 is fixed. Here is what we do. We have four pairs with
// blocknums and fullhashes of 1,2,3,4. The cachetable has only
// two bucket mutexes, so 1 and 3 share a pair mutex, as do 2 and 4.
// We pin all four with expensive write locks. Then, on backgroud threads,
// We pin all four with expensive write locks. Then, on backgroud threads,
// we call get_and_pin_nonblocking on 3, where the unlockers unpins 2, and
// we call get_and_pin_nonblocking on 4, where the unlockers unpins 1. Run this
// enough times, and we should see a deadlock before the fix, and no deadlock