threadfunc
rv = pthread_create(&tid[i], NULL, threadfunc, &val);
static void *threadfunc(void *);
rv = pthread_create(&tid, NULL, threadfunc, &tpid);
static void *threadfunc(void *);
PTHREAD_REQUIRE(pthread_create(&new[i], NULL, threadfunc,
PTHREAD_REQUIRE(pthread_create(&thr, &attr, threadfunc, NULL));
PTHREAD_REQUIRE(pthread_create(&new, NULL, threadfunc, NULL));
PTHREAD_REQUIRE(pthread_create(&t, NULL, threadfunc, NULL));
threadfunc(NULL);
PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));
PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));