You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using asio as a static library instead of header only, boost version 1.78. We instantiate a boost::asio::signal_set in the main thread of our application but do not receive any signals when building with link time optimization enabled (using gcc9/10). With making get_signal_state() (signal_set_service.ipp) BOOST_NOINLINE the issue does not occur and signals are again received properly.
The text was updated successfully, but these errors were encountered:
the NOINLINE is a compiler barrier here. makes me wonder if there's any missing volatile (especially when meditating about https://stackoverflow.com/a/57679370)
We are using asio as a static library instead of header only, boost version 1.78. We instantiate a
boost::asio::signal_set
in the main thread of our application but do not receive any signals when building with link time optimization enabled (using gcc9/10). With makingget_signal_state()
(signal_set_service.ipp)BOOST_NOINLINE
the issue does not occur and signals are again received properly.The text was updated successfully, but these errors were encountered: