Код: Выделить всё
#include
#include
#include
#include
boost::asio::io_context io;
void signal_handler(
const boost::system::error_code& ec,
int signal_number)
{
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79806756/boost-asio-timer-interruption-after-signal-is-handled[/url]
Мобильная версия