1 | // Distributed under the Boost Software License, Version 1.0. (See |
---|---|
2 | // accompanying file LICENSE_1_0.txt or copy at |
3 | // http://www.boost.org/LICENSE_1_0.txt) |
4 | // (C) Copyright 2007 Anthony Williams |
5 | // (C) Copyright 2011-2012 Vicente J. Botet Escriba |
6 | |
7 | #ifndef BOOST_THREAD_LOCK_OPTIONS_HPP |
8 | #define BOOST_THREAD_LOCK_OPTIONS_HPP |
9 | |
10 | #include <boost/config/abi_prefix.hpp> |
11 | |
12 | namespace boost |
13 | { |
14 | struct defer_lock_t |
15 | { |
16 | }; |
17 | struct try_to_lock_t |
18 | { |
19 | }; |
20 | struct adopt_lock_t |
21 | { |
22 | }; |
23 | |
24 | BOOST_CONSTEXPR_OR_CONST defer_lock_t defer_lock = {}; |
25 | BOOST_CONSTEXPR_OR_CONST try_to_lock_t try_to_lock = {}; |
26 | BOOST_CONSTEXPR_OR_CONST adopt_lock_t adopt_lock = {}; |
27 | |
28 | } |
29 | #include <boost/config/abi_suffix.hpp> |
30 | |
31 | #endif |
32 |