std::shared_mutex replacement for asynchronous tasks More...
#include <userver/engine/shared_mutex.hpp>
Public Member Functions | |
| SharedMutex (const SharedMutex &)=delete | |
| SharedMutex (SharedMutex &&)=delete | |
| SharedMutex & | operator= (const SharedMutex &)=delete | 
| SharedMutex & | operator= (SharedMutex &&)=delete | 
| void | lock () | 
| void | unlock () | 
| bool | try_lock () | 
| template<typename Rep , typename Period > | |
| bool | try_lock_for (const std::chrono::duration< Rep, Period > &) | 
| template<typename Clock , typename Duration > | |
| bool | try_lock_until (const std::chrono::time_point< Clock, Duration > &) | 
| bool | try_lock_until (Deadline deadline) | 
| void | lock_shared () | 
| void | unlock_shared () | 
| bool | try_lock_shared () | 
| template<typename Rep , typename Period > | |
| bool | try_lock_shared_for (const std::chrono::duration< Rep, Period > &) | 
| template<typename Clock , typename Duration > | |
| bool | try_lock_shared_until (const std::chrono::time_point< Clock, Duration > &) | 
| bool | try_lock_shared_until (Deadline deadline) | 
std::shared_mutex replacement for asynchronous tasks
Definition at line 23 of file shared_mutex.hpp.
| bool engine::SharedMutex::try_lock_for | ( | const std::chrono::duration< Rep, Period > & | duration | ) | 
Definition at line 84 of file shared_mutex.hpp.
| bool engine::SharedMutex::try_lock_shared_for | ( | const std::chrono::duration< Rep, Period > & | duration | ) | 
Definition at line 90 of file shared_mutex.hpp.
| bool engine::SharedMutex::try_lock_shared_until | ( | const std::chrono::time_point< Clock, Duration > & | until | ) | 
Definition at line 102 of file shared_mutex.hpp.
| bool engine::SharedMutex::try_lock_until | ( | const std::chrono::time_point< Clock, Duration > & | until | ) | 
Definition at line 96 of file shared_mutex.hpp.