Symbol: pthread_create
include/pthread.h
213
int pthread_create(pthread_t *, const pthread_attr_t *,
lib/librthread/pthread.h
58
PROTO_STD_DEPRECATED(pthread_create);
regress/lib/libc/asr/bin/threads.c
126
r = pthread_create(&th[i], NULL, task, (void *) &th_args[i]);
regress/lib/libc/locale/uselocale/uselocale.c
445
if ((irc = pthread_create(&child_thread, NULL, child_func, NULL)) != 0)
regress/lib/libc/malloc/malloc_threaderr/malloc_threaderr.c
63
if (pthread_create(&t1, NULL, m, NULL))
regress/lib/libc/malloc/malloc_threaderr/malloc_threaderr.c
67
if (pthread_create(&t2, NULL, f, NULL))
regress/lib/libc/stdio_threading/flockfile/flockfile_test.c
60
if ((r = pthread_create(&thr, NULL, test1, NULL)))
regress/lib/libc/stdio_threading/include/local.h
63
if ((r = pthread_create(&pthread[i], NULL, thread, arg))) {
regress/lib/libc/sys/t_getpid.c
117
rv = pthread_create(&tid, NULL, threadfunc, &tpid);
regress/lib/libpthread/barrier/barrier.c
38
CHECKr(pthread_create(&thr[i], NULL, foo, (void *)b));
regress/lib/libpthread/blocked_close/blocked_close.c
77
CHECKr(pthread_create(&deadlock_thread, NULL,
regress/lib/libpthread/blocked_close/blocked_close.c
84
CHECKr(pthread_create(&waiting_threads[j], NULL,
regress/lib/libpthread/blocked_dup2/blocked_dup2.c
77
CHECKr(pthread_create(&deadlock_thread, NULL,
regress/lib/libpthread/blocked_dup2/blocked_dup2.c
88
CHECKr(pthread_create(&waiting_threads[j], NULL,
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
100
CHECKr(pthread_create(&deadlock_finder, NULL,
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
107
CHECKr(pthread_create(&test_thread, NULL, fifo_deadlocker, NULL));
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
126
CHECKr(pthread_create(&test_thread, NULL, fifo_closer, NULL));
regress/lib/libpthread/blocked_join/blocked_join.c
50
CHECKr(pthread_create(&d, NULL, deadlock_detector, NULL));
regress/lib/libpthread/blocked_join/blocked_join.c
51
CHECKr(pthread_create(&t, NULL, joiner, &self));
regress/lib/libpthread/blocked_shutdown/blocked_shutdown.c
76
CHECKr(pthread_create(&deadlock_thread, NULL,
regress/lib/libpthread/blocked_shutdown/blocked_shutdown.c
84
CHECKr(pthread_create(&waiting_threads[j], NULL,
regress/lib/libpthread/cancel/cancel.c
198
CHECKr(pthread_create(&child1, NULL, child1fn, NULL));
regress/lib/libpthread/cancel/cancel.c
199
CHECKr(pthread_create(&child2, NULL, child2fn, NULL));
regress/lib/libpthread/cancel/cancel.c
212
CHECKr(pthread_create(&child3, NULL, child3fn, NULL));
regress/lib/libpthread/cancel/cancel.c
216
CHECKr(pthread_create(&child4, NULL, child4fn, NULL));
regress/lib/libpthread/cancel2/cancel2.c
102
CHECKr(pthread_create(&thread, NULL, poll_thread, pipe_fd));
regress/lib/libpthread/cancel2/cancel2.c
109
CHECKr(pthread_create(&thread, NULL, ppoll_thread, pipe_fd));
regress/lib/libpthread/cancel2/cancel2.c
88
CHECKr(pthread_create(&thread, NULL, select_thread, pipe_fd));
regress/lib/libpthread/cancel2/cancel2.c
95
CHECKr(pthread_create(&thread, NULL, pselect_thread, pipe_fd));
regress/lib/libpthread/cancel_wait/cancel_wait.c
101
CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
regress/lib/libpthread/cancel_wait/cancel_wait.c
68
CHECKr(pthread_create(&thread, NULL, wait_thread, NULL));
regress/lib/libpthread/cancel_wait/cancel_wait.c
76
CHECKr(pthread_create(&thread, NULL, waitpid_thread, NULL));
regress/lib/libpthread/cancel_wait/cancel_wait.c
84
CHECKr(pthread_create(&thread, NULL, wait3_thread, NULL));
regress/lib/libpthread/cancel_wait/cancel_wait.c
92
CHECKr(pthread_create(&thread, NULL, wait4_thread, NULL));
regress/lib/libpthread/close/close.c
153
CHECKr(pthread_create(&thread, &attr, new_thread, NULL));
regress/lib/libpthread/close_race/close_race.c
62
CHECKr(pthread_create(&deadlock_thread, NULL,
regress/lib/libpthread/close_race/close_race.c
68
CHECKr(pthread_create(&busy_threads[j], NULL,
regress/lib/libpthread/closefrom/closefrom.c
41
CHECKr(pthread_create(&thread, NULL, dummy_thread, NULL));
regress/lib/libpthread/dup2_race/dup2_race.c
62
CHECKr(pthread_create(&deadlock_thread, NULL,
regress/lib/libpthread/dup2_race/dup2_race.c
70
CHECKr(pthread_create(&busy_threads[j], NULL,
regress/lib/libpthread/earlysig/earlysig.c
45
if ((r = pthread_create(&tid, NULL, tmain, NULL)))
regress/lib/libpthread/errno/errno.c
162
CHECKr(pthread_create(&t1_tid, NULL, tmain, NULL));
regress/lib/libpthread/execve/execve.c
91
CHECKr(pthread_create(&t1, NULL, other, "Should see this too"));
regress/lib/libpthread/execve/execve.c
99
CHECKr(pthread_create(&t1, NULL, other, "failed!"));
regress/lib/libpthread/fork/fork.c
79
CHECKr(pthread_create(&sleeper_thread, NULL, sleeper, NULL));
regress/lib/libpthread/getaddrinfo/getaddrinfo.c
52
CHECKr(pthread_create(&threads[i], &attr, func, NULL));
regress/lib/libpthread/group/group.c
167
CHECKr(pthread_create(&thread[gid], NULL, test, (void *)n));
regress/lib/libpthread/malloc_duel/malloc_duel.c
67
CHECKr(pthread_create(&child[i], NULL, thread, NULL));
regress/lib/libpthread/pcap/pcap.c
68
CHECKr(pthread_create(&pcap, NULL, pcap_thread, NULL));
regress/lib/libpthread/pcap/pcap.c
70
CHECKr(pthread_create(&ping, NULL, ping_thread, NULL));
regress/lib/libpthread/poll/poll.c
122
CHECKr(pthread_create(&t, NULL, writer, (void *)&tube[1]));
regress/lib/libpthread/preemption/preemption.c
60
CHECKr(pthread_create(&thread, NULL, new_thread, NULL));
regress/lib/libpthread/preemption_float/preemption_float.c
106
CHECKr(pthread_create (&thread[0], NULL, trig_loop, NULL));
regress/lib/libpthread/preemption_float/preemption_float.c
107
CHECKr(pthread_create (&thread[1], NULL, log_loop, NULL));
regress/lib/libpthread/preemption_float/preemption_float.c
124
CHECKr(pthread_create (&thread, NULL, trig_loop, NULL));
regress/lib/libpthread/preemption_float/preemption_float.c
131
CHECKr(pthread_create (&thread, NULL, log_loop, NULL));
regress/lib/libpthread/process_kill/process_kill.c
39
CHECKr(pthread_create(&t, NULL, killer, NULL));
regress/lib/libpthread/pthread_atfork/pthread_atfork.c
112
CHECKr(pthread_create(&tid, NULL, forker1, NULL));
regress/lib/libpthread/pthread_atfork/pthread_atfork.c
115
CHECKr(pthread_create(&tid, NULL, forker2, NULL));
regress/lib/libpthread/pthread_cond_timedwait/pthread_cond_timedwait.c
116
CHECKr(pthread_create(&thread, NULL, thread_1, NULL));
regress/lib/libpthread/pthread_cond_timedwait/pthread_cond_timedwait.c
122
CHECKr(pthread_create(&thread, NULL, thread_2, NULL));
regress/lib/libpthread/pthread_create/pthread_create.c
64
CHECKr(pthread_create(&thread, NULL, new_thread,
regress/lib/libpthread/pthread_join/pthread_join.c
104
CHECKr(pthread_create(&thread, NULL, new_thread_1, (void *)buf));
regress/lib/libpthread/pthread_join/pthread_join.c
113
CHECKr(pthread_create(&thread, NULL, new_thread_2, (void *)buf));
regress/lib/libpthread/pthread_kill/pthread_kill.c
65
CHECKr(pthread_create(&thread1, NULL, thread, "T1"));
regress/lib/libpthread/pthread_kill/pthread_kill.c
66
CHECKr(pthread_create(&thread2, NULL, thread, "T2"));
regress/lib/libpthread/pthread_mutex/pthread_mutex.c
256
CHECKr(pthread_create(&thread, NULL, thread_deadlock, &mutex_normal));
regress/lib/libpthread/pthread_mutex/pthread_mutex.c
77
CHECKr(pthread_create(&thread, NULL, thread_contention, mutex));
regress/lib/libpthread/pthread_once/pthread_once.c
40
CHECKr(pthread_create(&tid, NULL, thread_main, NULL));
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c
134
if ((r = pthread_create(&tr[i], NULL, reader, &ids[i])))
regress/lib/libpthread/pthread_rwlock/pthread_rwlock.c
138
if ((r = pthread_create(&tw, NULL, writer, NULL)))
regress/lib/libpthread/pthread_rwlock2/pthread_rwlock2.c
98
if (pthread_create(&(handlers[j]), NULL,
regress/lib/libpthread/pthread_specific/pthread_specific.c
82
CHECKr(pthread_create(&threads[i], NULL, run_thread, NULL));
regress/lib/libpthread/restart/accept/accept.c
53
CHECKr(pthread_create(&tid, NULL, thr_accept, NULL));
regress/lib/libpthread/restart/connect/connect.c
58
CHECKr(pthread_create(&tid, NULL, thr_connect, NULL));
regress/lib/libpthread/restart/kevent/kevent.c
45
CHECKr(pthread_create(&tid, NULL, thr_kevent, NULL));
regress/lib/libpthread/restart/read/read.c
44
CHECKr(pthread_create(&tid, NULL, thr_read, NULL));
regress/lib/libpthread/restart/readv/readv.c
48
CHECKr(pthread_create(&tid, NULL, thr_readv, NULL));
regress/lib/libpthread/restart/recvfrom/recvfrom.c
53
CHECKr(pthread_create(&tid, NULL, thr_recvfrom, NULL));
regress/lib/libpthread/restart/recvmsg/recvmsg.c
59
CHECKr(pthread_create(&tid, NULL, thr_recvmsg, NULL));
regress/lib/libpthread/select/select.c
137
CHECKr(pthread_create(&bg_thread, NULL, bg_routine, 0));
regress/lib/libpthread/select/select.c
140
CHECKr(pthread_create(&fg_thread, NULL, fg_routine, (void *) slpr));
regress/lib/libpthread/semaphore/sem_destroy/sem_destroy.c
33
CHECKr(pthread_create(&prod_th, NULL, producer, &counter));
regress/lib/libpthread/semaphore/sem_destroy/sem_destroy.c
34
CHECKr(pthread_create(&cons_th, NULL, consumer, &counter));
regress/lib/libpthread/semaphore/sem_timedwait/sem_timedwait.c
48
CHECKr(pthread_create(&th, NULL, waiter, &sem));
regress/lib/libpthread/semaphore/sem_timedwait/sem_timedwait.c
68
CHECKr(pthread_create(&th, NULL, waiter, &sem));
regress/lib/libpthread/semaphore/sem_wait/sem_wait.c
39
CHECKr(pthread_create(&th, NULL, waiter, &sem));
regress/lib/libpthread/semaphore/sem_wait/sem_wait.c
59
CHECKr(pthread_create(&th, NULL, waiter, &sem));
regress/lib/libpthread/setjmp/setjmp.c
83
CHECKr(pthread_create(&child, NULL, jump, NULL));
regress/lib/libpthread/setjmp/setjmp.c
87
CHECKr(pthread_create(&child, NULL, _jump, NULL));
regress/lib/libpthread/setsockopt/1/setsockopt1.c
104
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
regress/lib/libpthread/setsockopt/1/setsockopt1.c
114
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
122
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
regress/lib/libpthread/setsockopt/2/setsockopt2.c
132
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
regress/lib/libpthread/setsockopt/3/setsockopt3.c
62
CHECKr(pthread_create(&connect_thread, NULL, sock_connect, NULL));
regress/lib/libpthread/setsockopt/3/setsockopt3.c
72
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
regress/lib/libpthread/setsockopt/3a/setsockopt3a.c
86
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, argv[1]));
regress/lib/libpthread/sigdeliver/sigdeliver.c
53
CHECKr(pthread_create(&pthread, NULL, do_nothing, NULL));
regress/lib/libpthread/siginterrupt/siginterrupt.c
37
CHECKr(pthread_create(&tid, NULL, blocker, NULL));
regress/lib/libpthread/signal/signal.c
48
CHECKr(pthread_create(&slpr, NULL, sleeper, NULL));
regress/lib/libpthread/signals/pthread_join/pthread_join.c
45
CHECKr(pthread_create(&tid[0], NULL, thr_sleep, NULL));
regress/lib/libpthread/signals/pthread_join/pthread_join.c
46
CHECKr(pthread_create(&tid[1], NULL, thr_join, &tid[0]));
regress/lib/libpthread/signals/pthread_mutex_lock/pthread_mutex_lock.c
37
CHECKr(pthread_create(&tid, NULL, thr_lock, NULL));
regress/lib/libpthread/sigsuspend/sigsuspend.c
195
CHECKr(pthread_create (&suspender_tid, &pattr, sigsuspender, NULL));
regress/lib/libpthread/sigwait/sigwait.c
148
CHECKr(pthread_create (&tid, &pattr, sigwaiter, NULL));
regress/lib/libpthread/sleep/sleep.c
77
CHECKr(pthread_create(&thread[i], NULL, new_thread,
regress/lib/libpthread/socket/1/socket1.c
143
CHECKr(pthread_create(&thread, &attr, sock_connect,
regress/lib/libpthread/socket/1/socket1.c
158
CHECKr(pthread_create(&thread, &attr, sock_write, &fd));
regress/lib/libpthread/socket/1/socket1.c
186
CHECKr(pthread_create(&thread, &attr, sock_accept,
regress/lib/libpthread/socket/2/socket2.c
126
CHECKr(pthread_create(&wthread, NULL, waiter, NULL));
regress/lib/libpthread/socket/2/socket2.c
155
CHECKr(pthread_create(&thread, NULL, sock_write, &fd));
regress/lib/libpthread/socket/2/socket2.c
183
CHECKr(pthread_create(&thread, NULL, sock_accept,
regress/lib/libpthread/socket/2a/socket2a.c
106
CHECKr(pthread_create(&thread, NULL, sock_connect,
regress/lib/libpthread/socket/3/socket3.c
118
CHECKr(pthread_create(&accept_thread, NULL, sock_accept, NULL));
regress/lib/libpthread/socket/3/socket3.c
82
CHECKr(pthread_create(&connect_thread, NULL, sock_connect,
regress/lib/libpthread/spinlock/spinlock.c
42
CHECKr(pthread_create(&thr[i], NULL, foo, (void *)l));
regress/lib/libpthread/stack/stack.c
111
CHECKr(pthread_create(&t, NULL, &tmain0, NULL));
regress/lib/libpthread/stack/stack.c
126
CHECKr(pthread_create(&t, &attr, &tmain1, NULL));
regress/lib/libpthread/stack/stack.c
163
CHECKr(pthread_create(&t, &attr, &tmain2, &thread_stack));
regress/lib/libpthread/stack/stack.c
98
CHECKr(pthread_create(&t, NULL, &tmain0, NULL));
regress/lib/libpthread/stdarg/stdarg.c
83
CHECKr(pthread_create(&t1, NULL, run_test, "child 1"));
regress/lib/libpthread/stdarg/stdarg.c
84
CHECKr(pthread_create(&t2, NULL, run_test, "child 2"));
regress/lib/libpthread/switch/switch.c
106
CHECKr(pthread_create(&thread, NULL, new_thread,
regress/misc/exceptions/threads/exceptions.cc
45
if (pthread_create(&p[i], NULL, c, NULL) != 0)
regress/misc/sse2/foo/foo.c
34
pthread_create(&thread, NULL, foo, NULL);
regress/sys/dev/kcov/kcov.c
321
if ((error = pthread_create(&th, NULL, closer, (void *)ctx)))
regress/sys/kern/clock_gettime/monotonicrelapse.c
53
error = pthread_create(&thread[i], NULL, thread_func,
regress/sys/kern/dup2_accept/dup2_accept.c
76
if ((error = pthread_create(&tr, NULL, dupper, NULL)))
regress/sys/kern/fork-exit/fork-exit.c
143
error = pthread_create(&thrs[i], &tattr, run_thread, NULL);
regress/sys/kern/futex/futex.c
70
assert(pthread_create(&thread, NULL, signaled, NULL) == 0);
regress/sys/kern/futex/futex.c
76
assert(pthread_create(&thread, NULL, awakener, NULL) == 0);
regress/sys/kern/main-thread-exited/main-thread-exited.c
46
if ((r = pthread_create(&t, NULL, tmain, NULL)))
regress/sys/kern/noexec/noexec.c
351
if ((error = pthread_create(&th, NULL, worker, (void *)&ctx)))
regress/sys/kern/pipe/test-close.c
55
error = pthread_create(&th1, NULL, close_thread, &ctx1);
regress/sys/kern/pipe/test-close.c
60
error = pthread_create(&th2, NULL, close_thread, &ctx2);
regress/sys/kern/pipe/test-kqueue.c
229
error = pthread_create(&ctx->c_th, NULL, kqueue_thread, ctx);
regress/sys/kern/pipe/test-run-down.c
154
error = pthread_create(&th, NULL, write_thread, &ctx);
regress/sys/kern/poll/poll_close.c
85
ret = pthread_create(&t, NULL, thread_main, NULL);
regress/sys/kern/select/select_close.c
84
ret = pthread_create(&t, NULL, thread_main, NULL);
regress/sys/kern/signal/sig-stop2/sig-stop2.c
74
if ((r = pthread_create(&pthread[i], NULL, thread, NULL))) {
regress/sys/kern/signal/sig-stop3/sig-stop3.c
51
if ((r = pthread_create(&pthread[i], NULL, thread, NULL))) {
regress/sys/kern/signal/sigprof/sigprof.c
87
if (pthread_create(&threads[i], NULL, spinloop, NULL) != 0)
regress/sys/kern/signal/sigpthread/sigpthread.c
169
errno = pthread_create(&threads[tnum], NULL, runner,
regress/sys/kern/unixsockets/unconacc.c
172
if ((error = pthread_create(&thr, NULL, thr_acc, &s)))
regress/sys/kern/unixsockets/unconacc.c
180
if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
regress/sys/kern/unixsockets/undgram_conclose.c
136
if ((error = pthread_create(&thr, NULL, thr_close, &sun)))
regress/sys/kern/unixsockets/undgram_conclose.c
140
if ((error = pthread_create(&thr, NULL, thr_conn, &sun)))
regress/sys/kern/unixsockets/unfdpassfail.c
87
error = pthread_create(&thr, NULL, thr_close, &fd);
regress/sys/kern/unixsockets/unsendrecvthr.c
210
error = pthread_create(&thr, NULL, thr_rx, &rx_args[i]);
regress/sys/kern/unixsockets/unsendrecvthr.c
220
error = pthread_create(&thr, NULL,
regress/sys/kern/unixsockets/unsopassgc.c
289
error = pthread_create(&thr, NULL,
regress/sys/kern/unixsockets/unsopassgc.c
293
error = pthread_create(&thr, NULL,
regress/sys/kern/unixsockets/unsopassgc.c
297
error = pthread_create(&thr, NULL,
regress/sys/kern/unixsockets/unsopassgc.c
303
if ((error = pthread_create(&thr, NULL, thr_gc, thr_gc_arg)))
regress/sys/netinet/bindconnect/bindconnect.c
443
errno = pthread_create(&tsocket[n], NULL, thread_socket, &run);
regress/sys/netinet/bindconnect/bindconnect.c
452
errno = pthread_create(&tclose[n], NULL, thread_close, &run);
regress/sys/netinet/bindconnect/bindconnect.c
461
errno = pthread_create(&tbind[n], NULL, thread_bind, &run);
regress/sys/netinet/bindconnect/bindconnect.c
470
errno = pthread_create(&tconnect[n], NULL, thread_connect,
regress/sys/netinet/bindconnect/bindconnect.c
480
errno = pthread_create(&tdelroute[n], NULL, thread_delroute,
regress/sys/netinet/tcpthread/tcpthread.c
695
errno = pthread_create(&connect_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
705
errno = pthread_create(&accept_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
715
errno = pthread_create(&send_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
725
errno = pthread_create(&recv_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
735
errno = pthread_create(&close_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
746
errno = pthread_create(&splice_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
756
errno = pthread_create(&unsplice_thread[n], NULL,
regress/sys/netinet/tcpthread/tcpthread.c
766
errno = pthread_create(&drop_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
708
errno = pthread_create(&connect_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
718
errno = pthread_create(&accept_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
728
errno = pthread_create(&send_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
738
errno = pthread_create(&recv_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
748
errno = pthread_create(&close_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
759
errno = pthread_create(&splice_thread[n], NULL,
regress/sys/netinet/udpthread/udpthread.c
769
errno = pthread_create(&unsplice_thread[n], NULL,
sbin/unwind/libunbound/util/locks.h
165
LOCKRET(pthread_create(thr, &attr, func, arg)); \
sbin/unwind/libunbound/util/locks.h
168
} else {LOCKRET(pthread_create(thr, NULL, func, arg));} \
usr.sbin/rpki-client/parser.c
1209
if ((error = pthread_create(&writer, NULL, &parse_writer, &fd)) != 0)
usr.sbin/rpki-client/parser.c
1212
error = pthread_create(&workers[i], NULL, &parse_worker, NULL);
usr.sbin/unbound/testcode/checklocks.c
803
LOCKRET(pthread_create(id, NULL, checklock_main, thr));
usr.sbin/unbound/util/locks.h
165
LOCKRET(pthread_create(thr, &attr, func, arg)); \
usr.sbin/unbound/util/locks.h
168
} else {LOCKRET(pthread_create(thr, NULL, func, arg));} \
usr.sbin/vmd/vionet.c
186
ret = pthread_create(&rx_thread, NULL, rx_run_loop, &dev);
usr.sbin/vmd/vionet.c
193
ret = pthread_create(&tx_thread, NULL, tx_run_loop, &dev);
usr.sbin/vmd/vm.c
699
ret = pthread_create(&tid[i], NULL, vcpu_run_loop, vrp[i]);
usr.sbin/vmd/vm.c
713
ret = pthread_create(&evtid, NULL, event_thread, &evdone);