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_timed_mutex - The standard shared timed mutex type.

Author

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

                                                    libstdc++                      std::shared_timed_mutex(3cxx)

Detailed Description

       The standard shared timed mutex type.

Name

       std::shared_timed_mutex - The standard shared timed mutex type.

Synopsis

       #include <shared_mutex>

       Inherits __shared_timed_mutex_base.

   PublicMemberFunctionsshared_timed_mutex (const shared_timed_mutex &)=deletevoidlock ()
       voidlock_shared ()
       shared_timed_mutex & operator= (const shared_timed_mutex &)=delete
       bool try_lock ()
       template<typename _Rep , typename_Period > bool try_lock_for (const chrono::duration< _Rep, _Period >
           &__rtime)
       bool try_lock_shared ()
       template<typename _Rep , typename_Period > bool try_lock_shared_for (const chrono::duration< _Rep,
           _Period > &__rtime)
       template<typename_Clock , typename_Duration > bool try_lock_shared_until (const chrono::time_point<
           _Clock, _Duration > &__abs_time)
       template<typename_Clock , typename_Duration > bool try_lock_until (const chrono::time_point< _Clock,
           _Duration > &__abs_time)
       voidunlock ()
       voidunlock_shared ()

See Also