1 // Copyright 2019 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_HISTOGRAM_DETAIL_NOOP_MUTEX_HPP
8 #define BOOST_HISTOGRAM_DETAIL_NOOP_MUTEX_HPP
15 bool try_lock() noexcept { return true; }
16 void lock() noexcept {}
17 void unlock() noexcept {}
21 } // namespace histogram