Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2018. The current version is 1.90.0.
Construct a signal set and add one signal.
signal_set(
boost::asio::io_context & io_context,
int signal_number_1);
This constructor creates a signal set and registers for one signal.
The io_context
object that the signal set will use to dispatch handlers for any
asynchronous operations performed on the set.
The signal number to be added.
This constructor is equivalent to performing:
boost::asio::signal_set signals(io_context); signals.add(signal_number_1);