Home | History | Annotate | Download | only in libpthread

Lines Matching defs:thread

63 	pthread_t thread;
65 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc1, NULL));
66 PTHREAD_REQUIRE(pthread_join(thread, NULL));
72 pthread_t thread[25];
83 * Check alignment of thread stack, if supported.
90 * out, if we try to join the calling thread.
102 for (i = 0; i < __arraycount(thread); i++) {
109 rv = pthread_create(&thread[i], &attr, threadfunc2, (void *)i);
116 PTHREAD_REQUIRE(pthread_join(thread[i], &val));
124 * Once the thread has returned, ESRCH should
127 rv = pthread_join(thread[i], NULL);
132 * Try to detach the exited thread.
134 rv = pthread_detach(thread[i]);