Changeset ed5367b in mainline for uspace/srv/sysman/units/unit_tgt.c


Ignore:
Timestamp:
2019-08-07T10:01:13Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
a097c50
Parents:
68ae40a
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-11-05 01:52:07)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-07 10:01:13)
Message:

sysman: Implement stopping units

Currently fails service monitoring because of taskman flawed event flags.
However, job closure works well.

File:
1 edited

Legend:

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

    r68ae40a red5367b  
    6363}
    6464
     65static int unit_tgt_stop(unit_t *unit)
     66{
     67        unit_tgt_t *u_tgt = CAST_TGT(unit);
     68        assert(u_tgt);
     69
     70        unit->state = STATE_STOPPED;
     71        return EOK;
     72}
     73
    6574static void unit_tgt_exposee_created(unit_t *unit)
    6675{
Note: See TracChangeset for help on using the changeset viewer.