]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/atomic/test/wait_ref_api.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / atomic / test / wait_ref_api.cpp
index 48028db1d442cf81294a358ee670f6ceaf8af581..c861fe46f0dea0684824e2b5810a413d47230040 100644 (file)
 
 int main(int, char *[])
 {
-    test_wait_notify_api< atomic_ref_wrapper, boost::uint8_t >(1, 2, 3);
-    test_wait_notify_api< atomic_ref_wrapper, boost::uint16_t >(1, 2, 3);
-    test_wait_notify_api< atomic_ref_wrapper, boost::uint32_t >(1, 2, 3);
-    test_wait_notify_api< atomic_ref_wrapper, boost::uint64_t >(1, 2, 3);
+    test_wait_notify_api< atomic_ref_wrapper, boost::uint8_t >(1, 2, 3, BOOST_ATOMIC_HAS_NATIVE_INT8_WAIT_NOTIFY);
+    test_wait_notify_api< atomic_ref_wrapper, boost::uint16_t >(1, 2, 3, BOOST_ATOMIC_HAS_NATIVE_INT16_WAIT_NOTIFY);
+    test_wait_notify_api< atomic_ref_wrapper, boost::uint32_t >(1, 2, 3, BOOST_ATOMIC_HAS_NATIVE_INT32_WAIT_NOTIFY);
+    test_wait_notify_api< atomic_ref_wrapper, boost::uint64_t >(1, 2, 3, BOOST_ATOMIC_HAS_NATIVE_INT64_WAIT_NOTIFY);
 #if defined(BOOST_HAS_INT128) && !defined(BOOST_ATOMIC_TESTS_NO_INT128)
-    test_wait_notify_api< atomic_ref_wrapper, boost::uint128_type >(1, 2, 3);
+    test_wait_notify_api< atomic_ref_wrapper, boost::uint128_type >(1, 2, 3, BOOST_ATOMIC_HAS_NATIVE_INT128_WAIT_NOTIFY);
 #endif
 
     {