Changeset e8747bd8 in mainline for uspace/srv/sysman/main.c


Ignore:
Timestamp:
2019-08-07T09:20:54Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
2df7d824
Parents:
012dd8e
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-01 15:43:57)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:20:54)
Message:

sysman: Use taskman API to detect successful server start

Conflicts:

uspace/srv/logger/main.c

File:
1 edited

Legend:

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

    r012dd8e re8747bd8  
    4444#include "log.h"
    4545#include "sysman.h"
     46#include "sm_task.h"
    4647#include "unit.h"
    4748
     
    208209         * Initialize global structures
    209210         */
     211        // TODO check return values and abort start
    210212        configuration_init();
    211213        sysman_events_init();
    212214        job_queue_init();
     215        sm_task_init();
    213216
    214217        /*
     
    230233
    231234        sysman_log(LVL_DEBUG, "Debugging pause...\n");
    232         async_usleep(10 * 1000000);
     235        async_usleep(1 * 1000000);
     236        sysman_log(LVL_DEBUG, "Debugging pause ended.\n");
    233237        /* Queue first job from sequence */
    234238        prepare_and_run_job(&target_sequence[0]);
Note: See TracChangeset for help on using the changeset viewer.