From: Francis Dupont Date: Wed, 23 Sep 2015 20:46:03 +0000 (+0200) Subject: [4065] Added a signal safe comment X-Git-Tag: trac4074_base~26^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b630b6fbe60d32aae7e60efc9f7b01d4b34d1f;p=thirdparty%2Fkea.git [4065] Added a signal safe comment --- diff --git a/src/lib/util/signal_set.h b/src/lib/util/signal_set.h index 81445d3592..32d7a0de81 100644 --- a/src/lib/util/signal_set.h +++ b/src/lib/util/signal_set.h @@ -89,7 +89,8 @@ typedef boost::function BoolSignalHandler; /// /// @note This class is not thread safe. It uses static variables and /// functions to track a global state of signal registration and received -/// signals' queue. +/// signals' queue. But the thread library is signal safe as new threads +/// are created with all signals blocked. class SignalSet : public boost::noncopyable { public: /// @brief Constructor installing one signal.