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

#include <mutex.hpp>

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

Public Types

using impl_t = Impl
 Internal.
 

Public Member Functions

void lock ()
 
bool try_lock ()
 
void unlock ()
 
impl_tGetImpl ()
 

Detailed Description

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

Definition at line 8 of file mutex.hpp.

Member Typedef Documentation

◆ impl_t

template<typename Impl >
using yaclib::detail::Mutex< Impl >::impl_t = Impl

Internal.

Definition at line 29 of file mutex.hpp.

Member Function Documentation

◆ GetImpl()

template<typename Impl >
impl_t & yaclib::detail::Mutex< Impl >::GetImpl ( )
inline

Definition at line 30 of file mutex.hpp.

◆ lock()

template<typename Impl >
void yaclib::detail::Mutex< Impl >::lock ( )
inline

Definition at line 15 of file mutex.hpp.

References YACLIB_INJECT_FAULT.

◆ try_lock()

template<typename Impl >
bool yaclib::detail::Mutex< Impl >::try_lock ( )
inline

Definition at line 19 of file mutex.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ unlock()

template<typename Impl >
void yaclib::detail::Mutex< Impl >::unlock ( )
inline

Definition at line 24 of file mutex.hpp.

References YACLIB_INJECT_FAULT.


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