A recursive mutex class borrowing the native mutex.  
 More...
#include <sys_mutex.hpp>
A recursive mutex class borrowing the native mutex. 
Definition at line 167 of file sys_mutex.hpp.
◆ sys_mutex_ref() [1/3]
  
  |  | inlineexplicitconstexprnoexcept | 
 
Construct a mutex using a native sys_mutex*. 
- Parameters
- 
  
    | m | The sys_mutex to use. m must already be initialized and will not be freed. |  
 
Definition at line 175 of file sys_mutex.hpp.
  178     __ASSERT_NO_MSG(m_mutex_ptr != 
nullptr);
 
 
 
 
◆ sys_mutex_ref() [2/3]
template<class T_Mutex > 
  
  | 
        
          | constexpr zpp::sys_mutex_ref::sys_mutex_ref | ( | T_Mutex & | m | ) |  |  | inlineexplicitconstexprnoexcept | 
 
Construct a mutex using a native sys_mutex*. 
- Parameters
- 
  
    | m | The sys_mutex to use. m must already be initialized and will not be freed. |  
 
Definition at line 188 of file sys_mutex.hpp.
  189     : m_mutex_ptr(m.native_handle())
 
  191     __ASSERT_NO_MSG(m_mutex_ptr != 
nullptr);
 
 
 
◆ sys_mutex_ref() [3/3]
  
  | 
        
          | zpp::sys_mutex_ref::sys_mutex_ref | ( |  | ) |  |  | delete | 
 
 
◆ native_handle() [1/2]
  
  | 
        
          | constexpr auto zpp::sys_mutex_ref::native_handle | ( |  | ) | const -> native_const_pointer |  | inlineconstexprnoexcept | 
 
 
◆ native_handle() [2/2]
  
  | 
        
          | constexpr auto zpp::sys_mutex_ref::native_handle | ( |  | ) | -> native_pointer |  | inlineconstexprnoexcept | 
 
 
◆ operator=() [1/2]
Construct a mutex using a native sys_mutex*. 
- Parameters
- 
  
    | m | The sys_mutex to use. m must already be initialized and will not be freed. |  
 
Definition at line 200 of file sys_mutex.hpp.
  203     __ASSERT_NO_MSG(m_mutex_ptr != 
nullptr);
 
 
 
 
◆ operator=() [2/2]
template<class T_Mutex > 
  
  | 
        
          | constexpr sys_mutex_ref& zpp::sys_mutex_ref::operator= | ( | T_Mutex & | m | ) |  |  | inlineconstexprnoexcept | 
 
Construct a mutex using a native sys_mutex*. 
- Parameters
- 
  
    | m | The sys_mutex to use. m must already be initialized and will not be freed. |  
 
Definition at line 214 of file sys_mutex.hpp.
  217     __ASSERT_NO_MSG(m_mutex_ptr != 
nullptr);
 
constexpr auto native_handle() noexcept -> native_pointer
get the native zephyr mutex handle.
 
References native_handle().
 
 
The documentation for this class was generated from the following file: