Lines Matching full:threads
144 atf_tc_set_md_var(tc, "descr", "Test getenv_r(3) with threads"); in ATF_TC_HEAD()
150 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY() local
158 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_getenv_r, in ATF_TC_BODY()
163 ATF_CHECK(pthread_join(threads[j], NULL) == 0); in ATF_TC_BODY()
175 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY() local
183 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_putenv, in ATF_TC_BODY()
188 ATF_CHECK(pthread_join(threads[j], NULL) == 0); in ATF_TC_BODY()
200 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY() local
208 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_setenv, in ATF_TC_BODY()
213 ATF_CHECK(pthread_join(threads[j], NULL) == 0); in ATF_TC_BODY()
219 atf_tc_set_md_var(tc, "descr", "Test unsetenv(3) with threads"); in ATF_TC_HEAD()
225 pthread_t threads[THREADED_NUM_THREADS]; in ATF_TC_BODY() local
233 ATF_CHECK(pthread_create(&threads[i++], NULL, thread_unsetenv, in ATF_TC_BODY()
238 ATF_CHECK(pthread_join(threads[j], NULL) == 0); in ATF_TC_BODY()