Changeset 39026d7c in mainline for uspace/lib/c/test/fibril/timer.c
- Timestamp:
- 2017-11-29T23:41:05Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 908d634
- Parents:
- f300523
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/test/fibril/timer.c
rf300523 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.