Changeset bb154c6 in mainline for uspace/srv/sysman/sysman.c


Ignore:
Timestamp:
2019-08-03T08:15:25Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
09a8006
Parents:
6006f35
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-04-15 15:14:58)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 08:15:25)
Message:

Add skeleton for configuration files loading

  • Create content of /cfg directory,
  • create sample configuration file,
  • refactored polymorphism.

Conflicts:

boot/Makefile

File:
1 edited

Legend:

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

    r6006f35 rbb154c6  
    2222        job->unit = unit;
    2323
    24         list_foreach(unit->dependencies, dependencies, unit_dependency_t, edge) {
     24        list_foreach(unit->dependencies, dependencies, unit_dependency_t, dep) {
    2525                job_t *blocking_job = NULL;
    26                 rc = sysman_create_closure_jobs(edge->dependency, &blocking_job,
     26                rc = sysman_create_closure_jobs(dep->dependency, &blocking_job,
    2727                    accumulator, type);
    2828                if (rc != EOK) {
     
    5555
    5656        job_t *job = NULL;
     57        // TODO shouldn't be here read-lock on configuration?
    5758        int rc = sysman_create_closure_jobs(unit, &job, &new_jobs, JOB_START);
    5859        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.