subsystem-runner: signal should not be kalled "kill"
...since it doesn't kill, rather ask to terminate.
This commit is contained in:
parent
5b6ebeaa5f
commit
1596f83266
1 changed files with 3 additions and 3 deletions
|
|
@ -104,7 +104,7 @@ namespace lumiera {
|
|||
vector<Subsys*> running_;
|
||||
|
||||
function<void(Subsys*)> start_,
|
||||
killIt_;
|
||||
stopIt_;
|
||||
|
||||
|
||||
public:
|
||||
|
|
@ -113,7 +113,7 @@ namespace lumiera {
|
|||
: opts_(opts)
|
||||
, emergency_(false)
|
||||
, start_(bind (&SubsystemRunner::triggerStartup, this,_1))
|
||||
, killIt_(bind (&Subsys::triggerShutdown, _1))
|
||||
, stopIt_(bind (&Subsys::triggerShutdown, _1))
|
||||
{ }
|
||||
|
||||
void
|
||||
|
|
@ -129,7 +129,7 @@ namespace lumiera {
|
|||
shutdownAll ()
|
||||
{
|
||||
Lock guard (this);
|
||||
for_each (running_, killIt_);
|
||||
for_each (running_, stopIt_);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue