• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  Copyright (c) 2020 Andrey Semashev
2 //
3 //  Distributed under the Boost Software License, Version 1.0.
4 //  See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt)
6 
7 #include <boost/atomic/ipc_atomic_ref.hpp>
8 
9 #include <boost/config.hpp>
10 #include <boost/cstdint.hpp>
11 
12 #include "ipc_wait_test_helpers.hpp"
13 
main(int,char * [])14 int main(int, char *[])
15 {
16     test_wait_notify_api< ipc_atomic_ref_wrapper, boost::uint8_t >(1, 2, 3);
17     test_wait_notify_api< ipc_atomic_ref_wrapper, boost::uint16_t >(1, 2, 3);
18     test_wait_notify_api< ipc_atomic_ref_wrapper, boost::uint32_t >(1, 2, 3);
19     test_wait_notify_api< ipc_atomic_ref_wrapper, boost::uint64_t >(1, 2, 3);
20 #if defined(BOOST_HAS_INT128) && !defined(BOOST_ATOMIC_TESTS_NO_INT128)
21     test_wait_notify_api< ipc_atomic_ref_wrapper, boost::uint128_type >(1, 2, 3);
22 #endif
23 
24     return boost::report_errors();
25 }
26