]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4065] Added a signal safe comment
authorFrancis Dupont <fdupont@isc.org>
Wed, 23 Sep 2015 20:46:03 +0000 (22:46 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 23 Sep 2015 20:46:03 +0000 (22:46 +0200)
src/lib/util/signal_set.h

index 81445d35929c1e0c22a9bbcb7bc473ee45d7df04..32d7a0de81767b09776b4742407ff04e434d0dba 100644 (file)
@@ -89,7 +89,8 @@ typedef boost::function<bool(int signum)> 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.