Changeset 8565a42 in mainline for kernel/test/thread/thread1.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/thread/thread1.c

    r3061bc1 r8565a42  
    4545{
    4646        thread_detach(THREAD);
    47        
     47
    4848        while (atomic_get(&finish)) {
    4949                TPRINTF("%" PRIu64 " ", THREAD->tid);
     
    5757        unsigned int i;
    5858        atomic_count_t total = 0;
    59        
     59
    6060        atomic_set(&finish, 1);
    6161        atomic_set(&threads_finished, 0);
    62        
     62
    6363        for (i = 0; i < THREADS; i++) {
    6464                thread_t *t;
     
    7171                total++;
    7272        }
    73        
     73
    7474        TPRINTF("Running threads for 10 seconds...\n");
    7575        thread_sleep(10);
    76        
     76
    7777        atomic_set(&finish, 0);
    7878        while (atomic_get(&threads_finished) < total) {
     
    8080                thread_sleep(1);
    8181        }
    82        
     82
    8383        return NULL;
    8484}
Note: See TracChangeset for help on using the changeset viewer.