Changeset 132ab5d1 in mainline for uspace/lib/c/test/fibril/timer.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (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.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/test/fibril/timer.c

    r8bfb163 r132ab5d1  
    2727 */
    2828
     29#include <async.h>
    2930#include <fibril_synch.h>
    3031#include <pcut/pcut.h>
     
    7778
    7879        fibril_timer_set_locked(t, 100 * 1000 * 1000, test_timeout_fn, &cnt);
    79         fibril_usleep(1000);
     80        async_usleep(1000);
    8081        fts = fibril_timer_clear_locked(t);
    8182        PCUT_ASSERT_INT_EQUALS(fts_active, fts);
     
    100101        cnt = 0;
    101102        fibril_timer_set(t, 100 * 1000 * 1000, test_timeout_fn, &cnt);
    102         fibril_usleep(1000);
     103        async_usleep(1000);
    103104        fts = fibril_timer_clear(t);
    104105        PCUT_ASSERT_INT_EQUALS(fts_active, fts);
     
    126127        fibril_mutex_unlock(&lock);
    127128
    128         fibril_usleep(1000);
     129        async_usleep(1000);
    129130
    130131        fibril_mutex_lock(&lock);
Note: See TracChangeset for help on using the changeset viewer.