ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/SignalHandler.cpp
(Generate patch)

Comparing Spectre2/SignalHandler.cpp (file contents):
Revision 403 by douglas, 2004-12-29T22:38:37-08:00 vs.
Revision 404 by douglas, 2004-12-29T23:40:23-08:00

# Line 6 | Line 6
6  
7   #include "SignalHandler.hpp"
8  
9 + #include <menes-api/posix/error.hpp>
10 +
11   SignalHandler::SignalHandler(Daemon* daemons[], size_t size) : daemons(daemons, size)
12   {
13 <        // SIGHUP
14 <        // SIGTERM
13 > //      api::Posix::CheckError(::signal(SIGHUP, (etl::BindAll(&SignalHandler::reload, this))));
14 > //      api::Posix::CheckError(::signal(SIGTERM, etl::BindAll(&SignalHandler::stop, this)));
15   }
16  
17   void SignalHandler::reload(int signal)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines