std::shared_lock::lock

1
void lock();
(since C++14)

Locks the associated mutex in shared mode. Effectively calls mutex()->lock_shared().

Parameters

(none).

Return value

(none).

Exceptions

Example

See also

tries to lock the associated mutex
(public member function)
unlocks the associated mutex
(public member function)
doc_CPP
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.