GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::shared_mutex::unlock_shared(3) C++ Standard Libary std::shared_mutex::unlock_shared(3)

std::shared_mutex::unlock_shared - std::shared_mutex::unlock_shared


void unlock_shared(); (since C++17)


Releases the mutex from shared ownership by the calling thread.


The mutex must be locked by the current thread of execution in shared mode,
otherwise, the behavior is undefined.


This operation synchronizes-with (as defined in std::memory_order) any subsequent
lock() operation that obtains ownership of the same mutex.


(none)


(none)


Throws nothing.


unlock_shared() is usually not called directly: std::shared_lock is used to manage
shared locking.


This section is incomplete
Reason: no example


locks the mutex for shared ownership, blocks if the mutex is not
lock_shared available
(public member function)
unlock unlocks the mutex
(public member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.