pthread_create
int pthread_create(pthread_t *, const pthread_attr_t *,
PROTO_STD_DEPRECATED(pthread_create);
r = pthread_create(&th[i], NULL, task, (void *) &th_args[i]);
if ((irc = pthread_create(&child_thread, NULL, child_func, NULL)) != 0)
if (pthread_create(&t1, NULL, m, NULL))
if (pthread_create(&t2, NULL, f, NULL))
if ((r = pthread_create(&thr, NULL, test1, NULL)))
if ((r = pthread_create(&pthread[i], NULL, thread, arg))) {
rv = pthread_create(&tid, NULL, threadfunc, &tpid);
CHECKr(pthread_create(&thr[i], NULL, foo, (void *)b));
CHECKr(pthread_create(&deadlock_thread, NULL,
CHECKr(pthread_create(&waiting_threads[j], NULL,
CHECKr(pthread_create(&deadlock_thread, NULL,
CHECKr(pthread_create(&waiting_threads[j], NULL,
CHECKr(pthread_create(&deadlock_finder, NULL,
CHECKr(pthread_create(&test_thread, NULL, fifo_deadlocker, NULL));
CHECKr(pthread_create(&test_thread, NULL, fifo_closer, NULL));
CHECKr(pthread_create(&d, NULL, deadlock_detector, NULL));
CHECKr(pthread_create(&t, NULL, joiner, &self));
CHECKr(pthread_create(&deadlock_thread, NULL,
CHECKr(pthread_create(&waiting_threads[j], NULL,
CHECKr(pthread_create(&child1, NULL, child1fn, NULL));
CHECKr(pthread_create(&child2, NULL, child2fn, NULL));
CHECKr(pthread_create(&child3, NULL, child3fn, NULL));
CHECKr(pthread_create(&child4, NULL, child4fn, NULL));
CHECKr(pthread_create(&thread, NULL, poll_thread, pipe_fd));
CHECKr(pthread_create(&thread, NULL, ppoll_thread, pipe_fd));
CHECKr(pthread_create(&thread, NULL, select_thread, pipe_fd));
CHECKr(pthread_create(&thread, NULL, pselect_thread, pipe_fd));
CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
CHECKr(pthread_create(&thread, NULL, wait_thread, NULL));
CHECKr(pthread_create(&thread, NULL, waitpid_thread, NULL));
CHECKr(pthread_create(&thread, NULL, wait3_thread, NULL));
CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
CHECKr(pthread_create(&thread, &attr, new_thread, NULL));
CHECKr(pthread_create(&deadlock_thread, NULL,
CHECKr(pthread_create(&busy_threads[j], NULL,
CHECKr(pthread_create(&thread, NULL, dummy_thread, NULL));
CHECKr(pthread_create(&deadlock_thread, NULL,
CHECKr(pthread_create(&busy_threads[j], NULL,
if ((r = pthread_create(&tid, NULL, tmain, NULL)))
CHECKr(pthread_create(&t1_tid, NULL, tmain, NULL));
CHECKr(pthread_create(&t1, NULL, other, "Should see this too"));
CHECKr(pthread_create(&t1, NULL, other, "failed!"));
CHECKr(pthread_create(&sleeper_thread, NULL, sleeper, NULL));
CHECKr(pthread_create(&threads[i], &attr, func, NULL));
CHECKr(pthread_create(&thread[gid], NULL, test, (void *)n));
CHECKr(pthread_create(&child[i], NULL, thread, NULL));
CHECKr(pthread_create(&pcap, NULL, pcap_thread, NULL));
CHECKr(pthread_create(&ping, NULL, ping_thread, NULL));
CHECKr(pthread_create(&t, NULL, writer, (void *)&tube[1]));
CHECKr(pthread_create(&thread, NULL, new_thread, NULL));
CHECKr(pthread_create (&thread[0], NULL, trig_loop, NULL));
CHECKr(pthread_create (&thread[1], NULL, log_loop, NULL));
CHECKr(pthread_create (&thread, NULL, trig_loop, NULL));
CHECKr(pthread_create (&thread, NULL, log_loop, NULL));
CHECKr(pthread_create(&t, NULL, killer, NULL));
CHECKr(pthread_create(&tid, NULL, forker1, NULL));
CHECKr(pthread_create(&tid, NULL, forker2, NULL));
CHECKr(pthread_create(&thread, NULL, thread_1, NULL));
CHECKr(pthread_create(&thread, NULL, thread_2, NULL));
CHECKr(pthread_create(&thread, NULL, new_thread,
CHECKr(pthread_create(&thread, NULL, new_thread_1, (void *)buf));
CHECKr(pthread_create(&thread, NULL, new_thread_2, (void *)buf));
CHECKr(pthread_create(&thread1, NULL, thread, "T1"));
CHECKr(pthread_create(&thread2, NULL, thread, "T2"));
CHECKr(pthread_create(&thread, NULL, thread_deadlock, &mutex_normal));
CHECKr(pthread_create(&thread, NULL, thread_contention, mutex));
CHECKr(pthread_create(&tid, NULL, thread_main, NULL));
if ((r = pthread_create(&tr[i], NULL, reader, &ids[i])))
if ((r = pthread_create(&tw, NULL, writer, NULL)))
if (pthread_create(&(handlers[j]), NULL,
CHECKr(pthread_create(&threads[i], NULL, run_thread, NULL));
CHECKr(pthread_create(&tid, NULL, thr_accept, NULL));
CHECKr(pthread_create(&tid, NULL, thr_connect, NULL));
CHECKr(pthread_create(&tid, NULL, thr_kevent, NULL));
CHECKr(pthread_create(&tid, NULL, thr_read, NULL));
CHECKr(pthread_create(&tid, NULL, thr_readv, NULL));
CHECKr(pthread_create(&tid, NULL, thr_recvfrom, NULL));
CHECKr(pthread_create(&tid, NULL, thr_recvmsg, NULL));
CHECKr(pthread_create(&bg_thread, NULL, bg_routine, 0));
CHECKr(pthread_create(&fg_thread, NULL, fg_routine, (void *) slpr));
CHECKr(pthread_create(&prod_th, NULL, producer, &counter));
CHECKr(pthread_create(&cons_th, NULL, consumer, &counter));
CHECKr(pthread_create(&th, NULL, waiter, &sem));
CHECKr(pthread_create(&th, NULL, waiter, &sem));
CHECKr(pthread_create(&th, NULL, waiter, &sem));
CHECKr(pthread_create(&th, NULL, waiter, &sem));
CHECKr(pthread_create(&child, NULL, jump, NULL));
CHECKr(pthread_create(&child, NULL, _jump, NULL));
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, argv[1]));
CHECKr(pthread_create(&pthread, NULL, do_nothing, NULL));
CHECKr(pthread_create(&tid, NULL, blocker, NULL));
CHECKr(pthread_create(&slpr, NULL, sleeper, NULL));
CHECKr(pthread_create(&tid[0], NULL, thr_sleep, NULL));
CHECKr(pthread_create(&tid[1], NULL, thr_join, &tid[0]));
CHECKr(pthread_create(&tid, NULL, thr_lock, NULL));
CHECKr(pthread_create (&suspender_tid, &pattr, sigsuspender, NULL));
CHECKr(pthread_create (&tid, &pattr, sigwaiter, NULL));
CHECKr(pthread_create(&thread[i], NULL, new_thread,
CHECKr(pthread_create(&thread, &attr, sock_connect,
CHECKr(pthread_create(&thread, &attr, sock_write, &fd));
CHECKr(pthread_create(&thread, &attr, sock_accept,
CHECKr(pthread_create(&wthread, NULL, waiter, NULL));
CHECKr(pthread_create(&thread, NULL, sock_write, &fd));
CHECKr(pthread_create(&thread, NULL, sock_accept,
CHECKr(pthread_create(&thread, NULL, sock_connect,
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
CHECKr(pthread_create(&connect_thread, NULL, sock_connect,
CHECKr(pthread_create(&thr[i], NULL, foo, (void *)l));
CHECKr(pthread_create(&t, NULL, &tmain0, NULL));
CHECKr(pthread_create(&t, &attr, &tmain1, NULL));
CHECKr(pthread_create(&t, &attr, &tmain2, &thread_stack));
CHECKr(pthread_create(&t, NULL, &tmain0, NULL));
CHECKr(pthread_create(&t1, NULL, run_test, "child 1"));
CHECKr(pthread_create(&t2, NULL, run_test, "child 2"));
CHECKr(pthread_create(&thread, NULL, new_thread,
if (pthread_create(&p[i], NULL, c, NULL) != 0)
pthread_create(&thread, NULL, foo, NULL);
if ((error = pthread_create(&th, NULL, closer, (void *)ctx)))
error = pthread_create(&thread[i], NULL, thread_func,
if ((error = pthread_create(&tr, NULL, dupper, NULL)))
error = pthread_create(&thrs[i], &tattr, run_thread, NULL);
assert(pthread_create(&thread, NULL, signaled, NULL) == 0);
assert(pthread_create(&thread, NULL, awakener, NULL) == 0);
if ((r = pthread_create(&t, NULL, tmain, NULL)))
if ((error = pthread_create(&th, NULL, worker, (void *)&ctx)))
error = pthread_create(&th1, NULL, close_thread, &ctx1);
error = pthread_create(&th2, NULL, close_thread, &ctx2);
error = pthread_create(&ctx->c_th, NULL, kqueue_thread, ctx);
error = pthread_create(&th, NULL, write_thread, &ctx);
ret = pthread_create(&t, NULL, thread_main, NULL);
ret = pthread_create(&t, NULL, thread_main, NULL);
if ((r = pthread_create(&pthread[i], NULL, thread, NULL))) {
if ((r = pthread_create(&pthread[i], NULL, thread, NULL))) {
if (pthread_create(&threads[i], NULL, spinloop, NULL) != 0)
errno = pthread_create(&threads[tnum], NULL, runner,
if ((error = pthread_create(&thr, NULL, thr_acc, &s)))
if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
if ((error = pthread_create(&thr, NULL, thr_close, &sun)))
if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
error = pthread_create(&thr, NULL, thr_close, &fd);
error = pthread_create(&thr, NULL, thr_rx, &rx_args[i]);
error = pthread_create(&thr, NULL,
error = pthread_create(&thr, NULL,
error = pthread_create(&thr, NULL,
error = pthread_create(&thr, NULL,
if ((error = pthread_create(&thr, NULL, thr_gc, thr_gc_arg)))
errno = pthread_create(&tsocket[n], NULL, thread_socket, &run);
errno = pthread_create(&tclose[n], NULL, thread_close, &run);
errno = pthread_create(&tbind[n], NULL, thread_bind, &run);
errno = pthread_create(&tconnect[n], NULL, thread_connect,
errno = pthread_create(&tdelroute[n], NULL, thread_delroute,
errno = pthread_create(&connect_thread[n], NULL,
errno = pthread_create(&accept_thread[n], NULL,
errno = pthread_create(&send_thread[n], NULL,
errno = pthread_create(&recv_thread[n], NULL,
errno = pthread_create(&close_thread[n], NULL,
errno = pthread_create(&splice_thread[n], NULL,
errno = pthread_create(&unsplice_thread[n], NULL,
errno = pthread_create(&drop_thread[n], NULL,
errno = pthread_create(&connect_thread[n], NULL,
errno = pthread_create(&accept_thread[n], NULL,
errno = pthread_create(&send_thread[n], NULL,
errno = pthread_create(&recv_thread[n], NULL,
errno = pthread_create(&close_thread[n], NULL,
errno = pthread_create(&splice_thread[n], NULL,
errno = pthread_create(&unsplice_thread[n], NULL,
LOCKRET(pthread_create(thr, &attr, func, arg)); \
} else {LOCKRET(pthread_create(thr, NULL, func, arg));} \
if ((error = pthread_create(&writer, NULL, &parse_writer, &fd)) != 0)
error = pthread_create(&workers[i], NULL, &parse_worker, NULL);
LOCKRET(pthread_create(id, NULL, checklock_main, thr));
LOCKRET(pthread_create(thr, &attr, func, arg)); \
} else {LOCKRET(pthread_create(thr, NULL, func, arg));} \
ret = pthread_create(&rx_thread, NULL, rx_run_loop, &dev);
ret = pthread_create(&tx_thread, NULL, tx_run_loop, &dev);
ret = pthread_create(&tid[i], NULL, vcpu_run_loop, vrp[i]);
ret = pthread_create(&evtid, NULL, event_thread, &evdone);