Changeset 015b147 in mainline for uspace/srv/sysman/job_closure.c


Ignore:
Timestamp:
2019-08-17T13:52:32Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
be07995
Parents:
31ef7c1
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-10 17:17:19)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:52:32)
Message:

sysman: Refactored unit repo iteration and locking

File:
1 edited

Legend:

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

    r31ef7c1 r015b147  
    205205{
    206206        /* Check invariant */
    207         list_foreach(units, units, unit_t, u) {
     207        repo_foreach(u) {
    208208                assert(u->bfs_tag == false);
    209209        }
     
    211211
    212212        /* Clean after ourselves (BFS tag jobs) */
    213         list_foreach(units, units, unit_t, u) {
     213        repo_foreach(u) {
    214214                u->bfs_tag = false;
    215215        }
Note: See TracChangeset for help on using the changeset viewer.