Add a signal to a signal_set. * This function adds the specified signal to the set. It has no effect if the * signal is already in the set. * * @param signal_number The signal to be added to the set. * * @throws boost::system::system_error Thrown on failure. */
| 351 | * @throws boost::system::system_error Thrown on failure. |
| 352 | */ |
| 353 | void add(int signal_number) |
| 354 | { |
| 355 | boost::system::error_code ec; |
| 356 | impl_.get_service().add(impl_.get_implementation(), signal_number, ec); |
| 357 | boost::asio::detail::throw_error(ec, "add"); |
| 358 | } |
| 359 | |
| 360 | /// Add a signal to a signal_set. |
| 361 | /** |
nothing calls this directly
no test coverage detected