Changeset 036e97c in mainline for kernel/test/mm/falloc2.c


Ignore:
Timestamp:
2018-09-07T15:52:40Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3306d04
Parents:
e9d2905
Message:

Convert atomic_t to atomic_size_t (3): Use atomic_load instead of atomic_get

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/falloc2.c

    re9d2905 r036e97c  
    130130        }
    131131
    132         while (atomic_get(&thread_count) > 0) {
     132        while (atomic_load(&thread_count) > 0) {
    133133                TPRINTF("Threads left: %zu\n",
    134                     atomic_get(&thread_count));
     134                    atomic_load(&thread_count));
    135135                thread_sleep(1);
    136136        }
    137137
    138         if (atomic_get(&thread_fail) == 0)
     138        if (atomic_load(&thread_fail) == 0)
    139139                return NULL;
    140140
Note: See TracChangeset for help on using the changeset viewer.