Scroll to navigation

std::shared_timed_mutex(3cxx) std::shared_timed_mutex(3cxx)

NAME

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

SYNOPSIS

#include <shared_mutex>

Inherits std::__shared_mutex_cv.

Public Member Functions


shared_timed_mutex (const shared_timed_mutex &)=delete
void lock ()
void lock_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 > &__rel_time)
bool try_lock_shared ()
template<typename _Rep , typename _Period > bool try_lock_shared_for (const chrono::duration< _Rep, _Period > &__rel_time)
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)
void unlock ()
void unlock_shared ()

Detailed Description

The standard shared timed mutex type.

Definition at line 442 of file shared_mutex.

Member Function Documentation

void std::shared_timed_mutex::lock () [inline]

Definition at line 459 of file shared_mutex.

void std::shared_timed_mutex::lock_shared () [inline]

Definition at line 472 of file shared_mutex.

bool std::shared_timed_mutex::try_lock () [inline]

Definition at line 460 of file shared_mutex.

template<typename _Rep , typename _Period > bool std::shared_timed_mutex::try_lock_for (const chrono::duration< _Rep, _Period > & __rel_time) [inline]

Definition at line 465 of file shared_mutex.

bool std::shared_timed_mutex::try_lock_shared () [inline]

Definition at line 473 of file shared_mutex.

template<typename _Rep , typename _Period > bool std::shared_timed_mutex::try_lock_shared_for (const chrono::duration< _Rep, _Period > & __rel_time) [inline]

Definition at line 478 of file shared_mutex.

template<typename _Clock , typename _Duration > bool std::shared_timed_mutex::try_lock_shared_until (const chrono::time_point< _Clock, _Duration > & __abs_time) [inline]

Definition at line 605 of file shared_mutex.

template<typename _Clock , typename _Duration > bool std::shared_timed_mutex::try_lock_until (const chrono::time_point< _Clock, _Duration > & __abs_time) [inline]

Definition at line 581 of file shared_mutex.

void std::shared_timed_mutex::unlock () [inline]

Definition at line 461 of file shared_mutex.

void std::shared_timed_mutex::unlock_shared () [inline]

Definition at line 474 of file shared_mutex.

Author

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

libstdc++