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