YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::SharedMutex< Impl > Class Template Reference

#include <shared_mutex.hpp>

Inheritance diagram for yaclib::detail::SharedMutex< Impl >:
[legend]
Collaboration diagram for yaclib::detail::SharedMutex< Impl >:
[legend]

Public Member Functions

void lock_shared ()
 
bool try_lock_shared ()
 
void unlock_shared ()
 
- Public Member Functions inherited from yaclib::detail::Mutex< Impl >
void lock ()
 
bool try_lock ()
 
void unlock ()
 
impl_tGetImpl ()
 

Additional Inherited Members

- Public Types inherited from yaclib::detail::Mutex< Impl >
using impl_t = Impl
 Internal.
 

Detailed Description

template<typename Impl>
class yaclib::detail::SharedMutex< Impl >

Definition at line 9 of file shared_mutex.hpp.

Member Function Documentation

◆ lock_shared()

template<typename Impl >
void yaclib::detail::SharedMutex< Impl >::lock_shared ( )
inline

Definition at line 15 of file shared_mutex.hpp.

References YACLIB_INJECT_FAULT.

◆ try_lock_shared()

template<typename Impl >
bool yaclib::detail::SharedMutex< Impl >::try_lock_shared ( )
inline

Definition at line 19 of file shared_mutex.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ unlock_shared()

template<typename Impl >
void yaclib::detail::SharedMutex< Impl >::unlock_shared ( )
inline

Definition at line 24 of file shared_mutex.hpp.

References YACLIB_INJECT_FAULT.


The documentation for this class was generated from the following file: