mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
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> |
||
|---|---|---|
| .. | ||
| b100 | ||
| b200 | ||
| common | ||
| cores | ||
| dboard | ||
| mpmd | ||
| usrp1 | ||
| usrp2 | ||
| x300 | ||
| x400 | ||
| CMakeLists.txt | ||
| dboard_base.cpp | ||
| dboard_ctor_args.hpp | ||
| dboard_eeprom.cpp | ||
| dboard_eeprom_c.cpp | ||
| dboard_id.cpp | ||
| dboard_iface.cpp | ||
| dboard_iface_python.hpp | ||
| dboard_manager.cpp | ||
| fe_connection.cpp | ||
| fe_connection_python.hpp | ||
| gps_ctrl.cpp | ||
| mboard_eeprom_c.cpp | ||
| multi_usrp.cpp | ||
| multi_usrp_python.cpp | ||
| multi_usrp_python.hpp | ||
| multi_usrp_rfnoc.cpp | ||
| subdev_spec.cpp | ||
| subdev_spec_c.cpp | ||
| subdev_spec_python.hpp | ||
| usrp_c.cpp | ||