Changes in uspace/app/rcubench/rcubench.c [1d6dd2a:7f9d97f3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/rcubench/rcubench.c
r1d6dd2a r7f9d97f3 47 47 #include <compiler/barrier.h> 48 48 #include <futex.h> 49 #include <str.h>50 49 51 50 #include <rcu.h> … … 127 126 thread_id_t tid; 128 127 /* Also sets up a fibril for the thread. */ 129 errno_t ret = thread_create(thread_func, bench, "rcubench-t", &tid);128 int ret = thread_create(thread_func, bench, "rcubench-t", &tid); 130 129 if (ret != EOK) { 131 130 printf("Error: Failed to create benchmark thread.\n"); … … 218 217 /* Determine iteration count. */ 219 218 uint32_t iter_cnt = 0; 220 errno_t ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt);219 int ret = str_uint32_t(argv[2], NULL, 0, true, &iter_cnt); 221 220 222 221 if (ret == EOK && 1 <= iter_cnt) {
Note:
See TracChangeset
for help on using the changeset viewer.