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