summaryrefslogtreecommitdiff
path: root/boost/process/async.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/process/async.hpp')
-rw-r--r--boost/process/async.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/process/async.hpp b/boost/process/async.hpp
index 4bfe5d4136..a7c2af75b6 100644
--- a/boost/process/async.hpp
+++ b/boost/process/async.hpp
@@ -118,7 +118,9 @@ chlid c2("ls", on_exit=exit_code);
\note The handler is not invoked when the launch fails.
\warning When used \ref ignore_error it might get invoked on error.
-\warning All `on_exit` use one signal(SIGCHLD) on posix, which is only guaranteed to work when all use the same `io_context`.
+\warning `on_exit` uses `boost::asio::signal_set` to listen for `SIGCHLD` on posix, and so has the
+same restrictions as that class (do not register a handler for `SIGCHLD` except by using
+`boost::asio::signal_set`).
*/
constexpr static ::boost::process::detail::on_exit_ on_exit{};
#endif