One Hat Cyber Team
Your IP :
216.73.217.23
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
include
/
boost
/
smart_ptr
/
detail
/
View File Name :
lwm_std_mutex.hpp
#ifndef BOOST_SMART_PTR_DETAIL_LWM_STD_MUTEX_HPP_INCLUDED #define BOOST_SMART_PTR_DETAIL_LWM_STD_MUTEX_HPP_INCLUDED // Copyright 2020 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt) #include <boost/assert.hpp> #include <mutex> namespace boost { namespace detail { class lightweight_mutex { private: std::mutex m_; lightweight_mutex(lightweight_mutex const &); lightweight_mutex & operator=(lightweight_mutex const &); public: lightweight_mutex() { } class scoped_lock; friend class scoped_lock; class scoped_lock { private: std::mutex & m_; scoped_lock(scoped_lock const &); scoped_lock & operator=(scoped_lock const &); public: scoped_lock( lightweight_mutex & m ): m_( m.m_ ) { m_.lock(); } ~scoped_lock() { m_.unlock(); } }; }; } // namespace detail } // namespace boost #endif // #ifndef BOOST_SMART_PTR_DETAIL_LWM_STD_MUTEX_HPP_INCLUDED