Swaps the held lock state of two lock holders.
Synopsis
Declared in <folly/synchronization/Lock.h>
|
Note
|
This function is a hidden friend of hybrid_lock_base, declared only inside that class: it can be found only through argument-dependent lookup. |
Parameters
Name |
Description |
a |
The first lock holder. |
b |
The second lock holder. |
Created with MrDocs