From 0d034402c5c97c82a164996f9cd4e9c80cf9fde1 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Thu, 9 Aug 2012 16:34:11 +0100 Subject: Expand description for TargetStartupMonitor --- node-startup-controller/target-startup-monitor.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/node-startup-controller/target-startup-monitor.c b/node-startup-controller/target-startup-monitor.c index 1b5db78..dd93873 100644 --- a/node-startup-controller/target-startup-monitor.c +++ b/node-startup-controller/target-startup-monitor.c @@ -32,20 +32,24 @@ * * The #TargetStartupMonitor class is responsible for setting the state of the * Node State Manager using states from #NSMNodeState. It sets the node state - * under the following * circumstances: + * under the following circumstances: * - * The Node Startup Controller is starting up. In the GENIVI lifecycle subsystem, - * this means that all mandatory applications have been started - set the state to - * %NSM_NODE_STATE_BASE_RUNNING. + * 1. The Node Startup Controller is starting up. In the GENIVI lifecycle subsystem, + * this means that all mandatory applications have been started - set the state to + * %NSM_NODE_STATE_BASE_RUNNING. * - * The systemd unit %focussed.target has started - set the state to - * %NSM_NODE_STATE_LUC_RUNNING. + * 2. The #TargetStartupMonitor receives a "JobRemoved" signal from "focussed.target", + * "unfocussed.target" or "lazy.target" indicating that this unit has changed its + * active state to "active" then: + * + * - If the systemd unit "focussed.target" has started - set the state to + * %NSM_NODE_STATE_LUC_RUNNING. * - * The systemd unit %unfocussed.target has started - set the state to - * %NSM_NODE_STATE_FULLY_RUNNING. + * - If the systemd unit "unfocussed.target" has started - set the state to + * %NSM_NODE_STATE_FULLY_RUNNING. * - * The systemd unit %lazy.target has started - set the state to - * %NSM_NODE_STATE_FULLY_OPERATIONAL. + * - If the systemd unit "lazy.target" has started - set the state to + * %NSM_NODE_STATE_FULLY_OPERATIONAL. */ -- cgit v1.2.1