logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::shared_mutex - The standard shared mutex type.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                            std::shared_mutex(3cxx)

Detailed Description

       The standard shared mutex type.

Name

       std::shared_mutex - The standard shared mutex type.

Synopsis

       #include <shared_mutex>

   PublicMemberFunctionsshared_mutex (const shared_mutex &)=deletevoidlock ()
       voidlock_shared ()
       shared_mutex & operator= (const shared_mutex &)=delete
       bool try_lock ()
       bool try_lock_shared ()
       voidunlock ()
       voidunlock_shared ()

   RelatedSymbols
       (Note that these are not member symbols.)
       template<typename_Mutex > voidswap (shared_lock< _Mutex > &__x, shared_lock< _Mutex > &__y) noexcept
           Swap specialization for shared_lock.

See Also