Swaps the managed mutex and token with another lock.
Synopsis
Declared in <folly/SharedMutex.h>
void
swap(shared_lock& other) noexcept;
Parameters
Name |
Description |
other |
Lock to swap state with. |
Created with MrDocs