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