Rechercher une page de manuel
std::unique_lock.3cxx
Langue: en
Version: 357391 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
std::unique_lock -unique_lock
SYNOPSIS
Public Types
typedef _Mutex mutex_type
Public Member Functions
void lock ()
mutex_type * mutex () const
operator bool () const
unique_lock & operator= (const unique_lock &)
unique_lock & operator= (unique_lock &&__u)
bool owns_lock () const
mutex_type * release ()
void swap (unique_lock &&__u)
bool try_lock ()
template<typename _Rep , typename _Period > bool try_lock_for (const chrono::duration< _Rep, _Period > &__rtime)
template<typename _Clock , typename _Duration > bool try_lock_until (const chrono::time_point< _Clock, _Duration > &__atime)
template<typename _Clock , typename _Duration > unique_lock (mutex_type &__m, const chrono::time_point< _Clock, _Duration > &__atime)
unique_lock (unique_lock &&__u)
unique_lock (mutex_type &__m)
template<typename _Rep , typename _Period > unique_lock (mutex_type &__m, const chrono::duration< _Rep, _Period > &__rtime)
unique_lock (mutex_type &__m, try_to_lock_t)
unique_lock (mutex_type &__m, adopt_lock_t)
unique_lock (const unique_lock &)
unique_lock (mutex_type &__m, defer_lock_t)
void unlock ()
Detailed Description
template<typename _Mutex> class std::unique_lock< _Mutex >
unique_lockDefinition at line 428 of file mutex.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre