Searched refs:cooperative_counter (Results 1 – 1 of 1) sorted by relevance
58 int *cooperative_counter = (int*)x; in coop_fibers_func() local60 if (*cooperative_counter == 0) { in coop_fibers_func()65 T_QUIET; T_ASSERT_EQ(*cooperative_counter, fibers_current->id, "invalid cooperative_counter"); in coop_fibers_func()66 *cooperative_counter = fibers_current->id + 1; in coop_fibers_func()86 int cooperative_counter = 0; variable88 …_t first = fibers_create(FIBERS_DEFAULT_STACK_SIZE, coop_fibers_func, (void*)&cooperative_counter);89 …t second = fibers_create(FIBERS_DEFAULT_STACK_SIZE, coop_fibers_func, (void*)&cooperative_counter);90 …_t third = fibers_create(FIBERS_DEFAULT_STACK_SIZE, coop_fibers_func, (void*)&cooperative_counter);95 cooperative_counter = first->id;98 T_LOG("Done cooperative_counter=%d", cooperative_counter);[all …]