Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e9d2905 in mainline for kernel/test/synch/semaphore1.c


Ignore:
Timestamp:
2018-09-07T15:50:02Z (4 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial
Children:
036e97c
Parents:
077842c
Message:

Convert atomic_t to atomic_size_t (2): Redefine atomic_t to atomic_size_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/synch/semaphore1.c

    r077842c re9d2905  
    115115                waitq_wakeup(&can_start, WAKEUP_ALL);
    116116
    117                 while ((items_consumed.count != consumers) || (items_produced.count != producers)) {
     117                while ((items_consumed != consumers) || (items_produced != producers)) {
    118118                        TPRINTF("%zu consumers remaining, %zu producers remaining\n",
    119                             consumers - items_consumed.count, producers - items_produced.count);
     119                            consumers - items_consumed, producers - items_produced);
    120120                        thread_sleep(1);
    121121                }
Note: See TracChangeset for help on using the changeset viewer.