Changes in uspace/lib/c/test/fibril/timer.c [39026d7c:12dcd5f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/test/fibril/timer.c
r39026d7c r12dcd5f 27 27 */ 28 28 29 #include <async.h>30 29 #include <fibril_synch.h> 31 30 #include <pcut/pcut.h> … … 78 77 79 78 fibril_timer_set_locked(t, 100 * 1000 * 1000, test_timeout_fn, &cnt); 80 async_usleep(1000);79 fibril_usleep(1000); 81 80 fts = fibril_timer_clear_locked(t); 82 81 PCUT_ASSERT_INT_EQUALS(fts_active, fts); … … 101 100 cnt = 0; 102 101 fibril_timer_set(t, 100 * 1000 * 1000, test_timeout_fn, &cnt); 103 async_usleep(1000);102 fibril_usleep(1000); 104 103 fts = fibril_timer_clear(t); 105 104 PCUT_ASSERT_INT_EQUALS(fts_active, fts); … … 127 126 fibril_mutex_unlock(&lock); 128 127 129 async_usleep(1000);128 fibril_usleep(1000); 130 129 131 130 fibril_mutex_lock(&lock);
Note:
See TracChangeset
for help on using the changeset viewer.