|
|
|||
File indexing completed on 2025-12-15 10:09:30
0001 // Distributed under the Boost Software License, Version 1.0. (See 0002 // accompanying file LICENSE_1_0.txt or copy at 0003 // http://www.boost.org/LICENSE_1_0.txt) 0004 // (C) Copyright 2009-2012 Vicente J. Botet Escriba 0005 0006 #ifndef BOOST_THREAD_LOCK_TRAITS_HPP 0007 #define BOOST_THREAD_LOCK_TRAITS_HPP 0008 0009 #include <boost/thread/detail/config.hpp> 0010 //#include <boost/thread/detail/move.hpp> 0011 //#include <boost/thread/exceptions.hpp> 0012 // 0013 //#ifdef BOOST_THREAD_USES_CHRONO 0014 //#include <boost/chrono/time_point.hpp> 0015 //#include <boost/chrono/duration.hpp> 0016 //#endif 0017 0018 #include <boost/type_traits/integral_constant.hpp> 0019 0020 #include <boost/config/abi_prefix.hpp> 0021 0022 namespace boost 0023 { 0024 0025 /** 0026 * An strict lock is a lock ensuring the mutex is locked on the scope of the lock 0027 * There is no single way to define a strict lock as the strict_lock and 0028 * nesteed_strict_lock shows. So we need a metafunction that states if a 0029 * lock is a strict lock "sur parole". 0030 */ 0031 0032 template <typename Lock> 0033 struct is_strict_lock_sur_parolle : false_type {}; 0034 0035 0036 template <typename Lock> 0037 struct is_strict_lock_sur_parole : is_strict_lock_sur_parolle<Lock> {}; 0038 0039 template <typename Lock> 0040 struct is_strict_lock : is_strict_lock_sur_parole<Lock> {}; 0041 0042 } 0043 #include <boost/config/abi_suffix.hpp> 0044 0045 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|