annotate DEPENDENCIES/generic/include/boost/signals2/mutex.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 //
Chris@16 2 // boost/signals2/mutex.hpp - header-only mutex
Chris@16 3 //
Chris@16 4 // Copyright (c) 2002, 2003 Peter Dimov and Multi Media Ltd.
Chris@16 5 // Copyright (c) 2008 Frank Mori Hess
Chris@16 6 //
Chris@16 7 // Distributed under the Boost Software License, Version 1.0. (See
Chris@16 8 // accompanying file LICENSE_1_0.txt or copy at
Chris@16 9 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 10 //
Chris@16 11 // boost::signals2::mutex is a modification of
Chris@16 12 // boost::detail::lightweight_mutex to follow the newer Lockable
Chris@16 13 // concept of Boost.Thread.
Chris@16 14 //
Chris@16 15
Chris@16 16 #ifndef BOOST_SIGNALS2_MUTEX_HPP
Chris@16 17 #define BOOST_SIGNALS2_MUTEX_HPP
Chris@16 18
Chris@16 19 // MS compatible compilers support #pragma once
Chris@16 20
Chris@101 21 #if defined(_MSC_VER)
Chris@16 22 # pragma once
Chris@16 23 #endif
Chris@16 24
Chris@16 25 #include <boost/config.hpp>
Chris@16 26
Chris@16 27 #if !defined(BOOST_HAS_THREADS)
Chris@16 28 # include <boost/signals2/detail/lwm_nop.hpp>
Chris@16 29 #elif defined(BOOST_HAS_PTHREADS)
Chris@16 30 # include <boost/signals2/detail/lwm_pthreads.hpp>
Chris@16 31 #elif defined(BOOST_HAS_WINTHREADS)
Chris@16 32 # include <boost/signals2/detail/lwm_win32_cs.hpp>
Chris@16 33 #else
Chris@16 34 // Use #define BOOST_DISABLE_THREADS to avoid the error
Chris@16 35 # error Unrecognized threading platform
Chris@16 36 #endif
Chris@16 37
Chris@16 38 #endif // #ifndef BOOST_SIGNALS2_MUTEX_HPP