thrd_success
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
return thrd_success;
ATF_REQUIRE_EQ(thrd_create(&t[i], co_func, NULL), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t[i], NULL), thrd_success);
case thrd_success: return "thrd_success";
ATF_REQUIRE_EQ(mtx_unlock(&b_m), thrd_success);
ATF_REQUIRE_EQ(cnd_signal(&b_c), thrd_success);
ATF_REQUIRE_EQ(cnd_broadcast(&b_c), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t[i], NULL), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(cnd_init(&c), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(cnd_init(&c), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&b_m), thrd_success);
ATF_REQUIRE_EQ(cnd_wait(&b_c, &b_m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&b_m), thrd_success);
ATF_REQUIRE_EQ(cnd_signal(&b_c), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&b_m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(cnd_init(&b_c), thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t[i], b_func, n), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&b_m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(mtx_trylock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_trylock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_trylock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_trylock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_timed), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_init(&m, mtx_plain | mtx_recursive), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_lock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(mtx_unlock(&m), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t, NULL), thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t, tdet_func, NULL), thrd_success);
ATF_REQUIRE_EQ(thrd_detach(t), thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t, tex_func, NULL), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t, &b), thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t, tcr_func, v), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t, &b), thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t, tcur_func, NULL), thrd_success);
ATF_REQUIRE_EQ(tss_create(&s, c_destructor_main), thrd_success);
ATF_REQUIRE_EQ(tss_set(s, v), thrd_success);
ATF_REQUIRE_EQ(tss_set(s_nonempty, v), thrd_success);
thrd_success);
thrd_success);
ATF_REQUIRE_EQ(thrd_create(&t, t_func, NULL), thrd_success);
ATF_REQUIRE_EQ(thrd_join(t, NULL), thrd_success);
ATF_REQUIRE_EQ(tss_create(&s, NULL), thrd_success);
ATF_REQUIRE_EQ(tss_create(&s, NULL), thrd_success);
ATF_REQUIRE_EQ(tss_set(s, v), thrd_success);