comparison DEPENDENCIES/generic/include/boost/log/sources/basic_logger.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
1 /* 1 /*
2 * Copyright Andrey Semashev 2007 - 2013. 2 * Copyright Andrey Semashev 2007 - 2015.
3 * Distributed under the Boost Software License, Version 1.0. 3 * Distributed under the Boost Software License, Version 1.0.
4 * (See accompanying file LICENSE_1_0.txt or copy at 4 * (See accompanying file LICENSE_1_0.txt or copy at
5 * http://www.boost.org/LICENSE_1_0.txt) 5 * http://www.boost.org/LICENSE_1_0.txt)
6 */ 6 */
7 /*! 7 /*!
98 //! Lock requirement for the remove_attribute_unlocked method 98 //! Lock requirement for the remove_attribute_unlocked method
99 typedef boost::log::aux::exclusive_lock_guard< threading_model > remove_attribute_lock; 99 typedef boost::log::aux::exclusive_lock_guard< threading_model > remove_attribute_lock;
100 //! Lock requirement for the remove_all_attributes_unlocked method 100 //! Lock requirement for the remove_all_attributes_unlocked method
101 typedef boost::log::aux::exclusive_lock_guard< threading_model > remove_all_attributes_lock; 101 typedef boost::log::aux::exclusive_lock_guard< threading_model > remove_all_attributes_lock;
102 //! Lock requirement for the get_attributes method 102 //! Lock requirement for the get_attributes method
103 typedef boost::log::aux::shared_lock_guard< threading_model > get_attributes_lock; 103 typedef boost::log::aux::shared_lock_guard< const threading_model > get_attributes_lock;
104 //! Lock requirement for the open_record_unlocked method 104 //! Lock requirement for the open_record_unlocked method
105 typedef boost::log::aux::shared_lock_guard< threading_model > open_record_lock; 105 typedef boost::log::aux::shared_lock_guard< threading_model > open_record_lock;
106 //! Lock requirement for the set_attributes method 106 //! Lock requirement for the set_attributes method
107 typedef boost::log::aux::exclusive_lock_guard< threading_model > set_attributes_lock; 107 typedef boost::log::aux::exclusive_lock_guard< threading_model > set_attributes_lock;
108 #else 108 #else
109 typedef no_lock< threading_model > swap_lock; 109 typedef no_lock< threading_model > swap_lock;
110 typedef no_lock< threading_model > add_attribute_lock; 110 typedef no_lock< threading_model > add_attribute_lock;
111 typedef no_lock< threading_model > remove_attribute_lock; 111 typedef no_lock< threading_model > remove_attribute_lock;
112 typedef no_lock< threading_model > remove_all_attributes_lock; 112 typedef no_lock< threading_model > remove_all_attributes_lock;
113 typedef no_lock< threading_model > get_attributes_lock; 113 typedef no_lock< const threading_model > get_attributes_lock;
114 typedef no_lock< threading_model > open_record_lock; 114 typedef no_lock< threading_model > open_record_lock;
115 typedef no_lock< threading_model > set_attributes_lock; 115 typedef no_lock< threading_model > set_attributes_lock;
116 #endif 116 #endif
117 117
118 //! Lock requirement for the push_record_unlocked method 118 //! Lock requirement for the push_record_unlocked method