Changeset 015b147 in mainline for uspace/srv/sysman/connection_ctl.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/connection_ctl.c

    r31ef7c1 r015b147  
    197197        size_t total = 0;
    198198        repo_rlock();
    199         list_foreach(units, units, unit_t, u) {
     199        repo_foreach(u) {
    200200                if (filled < to_fill) {
    201201                        buffer[filled++] = u->handle;
Note: See TracChangeset for help on using the changeset viewer.