[asio-users] Meaning for ASIO_CONCURRENCY_HINT_SAFE changed?
Brought to you by:
chris_kohlhoff
From: Vinícius d. S. O. <vin...@gm...> - 2025-04-18 01:01:21
|
ASIO_CONCURRENCY_HINT_SAFE used to mean the default value that is passed to io_context[1] which means you may call run() from multiple threads (that's the default after all). The docs for 1.88 now state that ASIO_CONCURRENCY_HINT_SAFE means scheduler/concurrency_hint=1 which is different from the default io_context constructor. [1] https://live.boost.org/doc/libs/1_86_0/doc/html/boost_asio/overview/core/concurrency_hint.html [2] https://www.boost.org/doc/libs/1_88_0/doc/html/boost_asio/overview/core/configuration.html -- Vinícius dos Santos Oliveira |