Browse Source

[4065] Added a signal safe comment

Francis Dupont 9 years ago
parent
commit
76b630b6fb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/util/signal_set.h

+ 2 - 1
src/lib/util/signal_set.h

@@ -89,7 +89,8 @@ typedef boost::function<bool(int signum)> BoolSignalHandler;
 ///
 ///
 /// @note This class is not thread safe. It uses static variables and
 /// @note This class is not thread safe. It uses static variables and
 /// functions to track a global state of signal registration and received
 /// 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 {
 class SignalSet : public boost::noncopyable {
 public:
 public:
     /// @brief Constructor installing one signal.
     /// @brief Constructor installing one signal.