Ignore:
File:
1 edited

Legend:

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

    r12dcd5f r39026d7c  
    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.