ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/SignalHandler.cpp
Revision: 402
Committed: 2004-12-29T22:38:37-08:00 (20 years, 5 months ago) by douglas
File size: 417 byte(s)
Log Message:
It bogles the mind!

File Contents

# Content
1 // Spectre 2
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #include "SignalHandler.hpp"
8
9 SignalHandler::SignalHandler(Daemon* daemons[], size_t size) : daemons(daemons, size)
10 {
11 // SIGHUP
12 // SIGTERM
13 }
14
15 void SignalHandler::reload(int signal)
16 {
17 _mforeach (ext::Vector<Daemon*>, daemon, daemons) (*daemon)->reload();
18 }
19
20 void SignalHandler::stop(int signal)
21 {
22 _mforeach (ext::Vector<Daemon*>, daemon, daemons) (*daemon)->stop();
23 }

Properties

Name Value
svn:eol-style native
svn:keywords Id