Constructs a lock that manages a mutex without acquiring it.
Declared in <folly/SharedMutex.h>
shared_lock(
mutex_type& mutex,
std::defer_lock_t unused) noexcept;
| Name | Description |
|---|---|
| mutex | Mutex to associate with this lock. |
| unused | Tag selecting deferred locking. |