Signals not received when building with link time optimization enabled and using asio as static library
Ouverte
- Langage dominant
- C++
- Étoiles
- 1.6k
- Forks
- 485
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.