Home | History | Annotate | Download | only in libpthread

Lines Matching refs:pthread_once

70 	atf_tc_set_md_var(tc, "descr", "Checks pthread_once()");
75 printf("1: Test 1 of pthread_once()\n");
77 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
78 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
97 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc));
109 atf_tc_set_md_var(tc, "descr", "Checks pthread_once()");
117 printf("1: Test 2 of pthread_once()\n");
150 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc));
160 "main thread deadlocked in pthread_once()");
166 atf_tc_set_md_var(tc, "descr", "Checks pthread_once()");
173 printf("Test 3 of pthread_once() (test versus cancellation)\n");
191 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
213 (void)pthread_once(&once, &ofunc_silent);
230 atf_tc_set_md_var(tc, "descr", "Test racing pthread_once with fork");
240 atf_tc_skip("pthread_once takes thousands of fork trials"
257 (void)pthread_once(&once, &ofunc_silent);