MCPcopy Create free account
hub / github.com/boostorg/asio / add

Function add

include/boost/asio/basic_signal_set.hpp:353–358  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

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 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected