Lock both lock1 and lock2, the one in the lower memory location first.

Synopsis

Declared in <bdlcc_skiplist.h>

SkipList_DoubleLockGuard(
    bslmt::Mutex* lock1,
    bslmt::Mutex* lock2);

Created with MrDocs