Changeset 8ae8262 in mainline for uspace/srv/sysman/units/unit_cfg.c


Ignore:
Timestamp:
2019-08-07T11:08:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
130ba46
Parents:
5353f50
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-12 02:56:35)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 11:08:17)
Message:

sysman: Support for anonymous services

  • Daemons that only call task_retval and don't exit are recorded as anonymous services.
  • Split unit run-state and repository state.
  • Partial support for removal of units from repository (needs refcounting yet).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/units/unit_cfg.c

    r5353f50 r8ae8262  
    177177                }
    178178
    179                 assert(unit->state == STATE_EMBRYO);
     179                assert(unit->repo_state == REPO_EMBRYO);
    180180                repo_add_unit(unit);
    181181        }
Note: See TracChangeset for help on using the changeset viewer.