Changeset 8ae8262 in mainline for uspace/srv/sysman/unit.h


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/unit.h

    r5353f50 r8ae8262  
    4848struct job;
    4949
     50/* Represents presence of unit in repo during modifications */
     51typedef enum {
     52        REPO_EMBRYO,
     53        REPO_LIVING,
     54        REPO_ZOMBIE
     55} repo_state_t;
     56
    5057typedef struct {
    5158        /** Link to name-to-unit hash table */
     
    8087
    8188        unit_state_t state;
     89
     90        repo_state_t repo_state;
    8291
    8392        list_t edges_in;
Note: See TracChangeset for help on using the changeset viewer.