|
@@ -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.
|