Changeset 8d74fdd in mainline for uspace/srv/sysman/sm_task.c


Ignore:
Timestamp:
2019-08-17T13:57:05Z (7 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
f92b315
Parents:
be07995
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-27 00:01:13)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:57:05)
Message:

sysman: Shutdown operation as shutdown.tgt isolation

Since not all dependencies are captured by graph, sysman and taskman are
ignored when stopping servers, so that they can complete the shutdown
transition.

Conflicts:

boot/Makefile.common

File:
1 edited

Legend:

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

    rbe07995 r8d74fdd  
    106106         * name */
    107107
     108        /*
     109         * Temporary workaround to avoid killing ourselves during shutdown,
     110         * eventually should be captured by dependencies.
     111         */
     112        if (tid == task_get_id() || tid == 2 /*taskman*/) {
     113                CAST_SVC(u_svc)->critical = true;
     114        }
     115
    108116        repo_begin_update();
    109117        in_repo_update = true;
Note: See TracChangeset for help on using the changeset viewer.