File indexing completed on 2025-01-30 10:02:28
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_WINAPI_WAIT_ON_ADDRESS_HPP_INCLUDED_
0009 #define BOOST_WINAPI_WAIT_ON_ADDRESS_HPP_INCLUDED_
0010
0011 #include <boost/winapi/config.hpp>
0012
0013 #if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN8 && (BOOST_WINAPI_PARTITION_APP || BOOST_WINAPI_PARTITION_SYSTEM)
0014
0015 #include <boost/winapi/basic_types.hpp>
0016 #include <boost/winapi/detail/header.hpp>
0017
0018 #ifdef BOOST_HAS_PRAGMA_ONCE
0019 #pragma once
0020 #endif
0021
0022 #if !defined(BOOST_USE_WINDOWS_H)
0023 extern "C" {
0024
0025
0026 boost::winapi::BOOL_ BOOST_WINAPI_WINAPI_CC
0027 WaitOnAddress(
0028 volatile boost::winapi::VOID_* addr,
0029 boost::winapi::PVOID_ compare_addr,
0030 boost::winapi::SIZE_T_ size,
0031 boost::winapi::DWORD_ timeout_ms);
0032
0033 boost::winapi::VOID_ BOOST_WINAPI_WINAPI_CC
0034 WakeByAddressSingle(boost::winapi::PVOID_ addr);
0035
0036 boost::winapi::VOID_ BOOST_WINAPI_WINAPI_CC
0037 WakeByAddressAll(boost::winapi::PVOID_ addr);
0038
0039 }
0040 #endif
0041
0042 namespace boost {
0043 namespace winapi {
0044
0045 using ::WaitOnAddress;
0046 using ::WakeByAddressSingle;
0047 using ::WakeByAddressAll;
0048
0049 }
0050 }
0051
0052 #include <boost/winapi/detail/footer.hpp>
0053
0054 #endif
0055
0056 #endif