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


Ignore:
Timestamp:
2019-08-07T11:08:17Z (5 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/repo.h

    r5353f50 r8ae8262  
    3232#include <adt/list.h>
    3333#include <ipc/sysman.h>
     34#include <stdio.h>
    3435
    3536#include "unit.h"
     37
     38#define ANONYMOUS_SERVICE_MASK "service_%" PRIu64
    3639
    3740extern list_t units;
     
    4043
    4144extern int repo_add_unit(unit_t *);
     45extern int repo_remove_unit(unit_t *);
    4246
    4347extern void repo_begin_update(void);
Note: See TracChangeset for help on using the changeset viewer.