Lock both lock1 and lock2 in address order.
Declared in <bdlcc_skiplist.h>
SkipList_DoubleLockGuard(
bslmt::Mutex* lock1,
bslmt::Mutex* lock2);
Lock both lock1 and lock2, the one in the lower memory location first.
| Name | Description |
|---|---|
| lock1 | first mutex to lock |
| lock2 | second mutex to lock |