uhd/host/lib/usrp_clock
Martin Braun adfe953d96 uhd: Update ASIO usage to modern style, compatible with Boost 1.87
Starting with Boost 1.66 and the corresponding ASIO version, there were
some changes introduced based on the C++ Networking TS. This includes
changes like replacing io_service with io_context, deprecating some
functions, etc. Starting with Boost 1.87, the old style is no longer
supported.

This commit updates all usage of ASIO in a way that makes UHD compatible
with future versions of ASIO. However, this makes UHD no longer
compatible with Boost 1.65 and below.

Summary of changes:
- Replace asio::io_service with asio::io_context
- Replace asio::io_service::strand with
  asio::strand<asio::io_context::executor_type>
  - This implies using asio::post() instead of asio::strand::post()
- Replace asio::buffer_cast<T>(buf) with static_cast<T>(buf.data())
- Update resolve(query) with new API
- Replace references to endpoint_iterator with resolver::results_type
- Replace ip::address::from_string() with ip::make_address()

Co-authored-by: Jörg Hofrichter <joerg.hofrichter@emerson.com>
2024-12-11 14:37:26 +01:00
..
octoclock uhd: Update ASIO usage to modern style, compatible with Boost 1.87 2024-12-11 14:37:26 +01:00
CMakeLists.txt uhd: mpm: update all license header w/ "-or-later" 2019-03-08 00:43:07 +01:00
multi_usrp_clock.cpp uhd: Remove includes of list_of.hpp where appropriate 2021-06-24 12:00:49 -05:00
multi_usrp_clock_python.cpp host: add octoclock python api 2024-09-05 14:45:45 +02:00
multi_usrp_clock_python.hpp host: add octoclock python api 2024-09-05 14:45:45 +02:00
usrp_clock_c.cpp C API: Fix double-free issue with sensor values 2022-11-11 15:31:50 -06:00