Searched refs:PTHREAD_REQUIRE (Results 1 - 22 of 22) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_barrier.c59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
79 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL));
80 PTHREAD_REQUIRE(pthread_barrier_init(&barrier, NULL, COUNT));
83 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
85 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
86 PTHREAD_REQUIRE(pthread_create(&new[i], NULL, threadfunc,
92 PTHREAD_REQUIRE(pthread_join(new[i], &joinval));
93 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
95 PTHREAD_REQUIRE(pthread_mutex_unloc
[all...]
H A Dt_cond.c59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
64 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
65 PTHREAD_REQUIRE(pthread_cond_signal(&cond));
83 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL));
84 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL));
86 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
90 PTHREAD_REQUIRE(pthread_create(&new, NULL, signal_delay_wait_threadfunc,
96 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex));
102 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
105 PTHREAD_REQUIRE(pthread_joi
[all...]
H A Dt_name.c57 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
60 PTHREAD_REQUIRE(pthread_setname_np(self, non_const_name, NULL));
62 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
80 PTHREAD_REQUIRE(pthread_attr_init(&attr));
81 PTHREAD_REQUIRE(pthread_attr_getname_np(&attr, retname,
85 PTHREAD_REQUIRE(pthread_attr_setname_np(&attr, "%s",
89 PTHREAD_REQUIRE(pthread_getname_np(self, retname, sizeof(retname)));
92 PTHREAD_REQUIRE(pthread_create(&thr, &attr, threadfunc, NULL));
93 PTHREAD_REQUIRE(pthread_join(thr, NULL));
H A Dt_mutex.c110 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL));
112 PTHREAD_REQUIRE(mutex_lock(&mutex, &ts_lengthy));
113 PTHREAD_REQUIRE(pthread_create(&new, NULL, mutex1_threadfunc, &x));
119 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
121 PTHREAD_REQUIRE(pthread_join(new, &joinval));
123 PTHREAD_REQUIRE(mutex_lock(&mutex, &ts_lengthy));
128 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
139 PTHREAD_REQUIRE(mutex_lock(&mutex, &ts_lengthy));
141 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
171 PTHREAD_REQUIRE(pthread_mutex_ini
[all...]
H A Dt_preempt.c59 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
63 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
64 PTHREAD_REQUIRE(pthread_cond_signal(&cond));
94 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL));
95 PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL));
97 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
102 PTHREAD_REQUIRE(pthread_create(&new, NULL, threadfunc, NULL));
106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex));
111 PTHREAD_REQUIRE(pthread_mutex_unlock(&mutex));
118 PTHREAD_REQUIRE(pthread_joi
[all...]
H A Dt_rwlock.c92 PTHREAD_REQUIRE(pthread_create(&t, NULL, do_nothing, NULL));
93 PTHREAD_REQUIRE(pthread_rwlock_init(&lk, NULL));
94 PTHREAD_REQUIRE(pthread_rwlock_rdlock(&lk));
95 PTHREAD_REQUIRE(pthread_rwlock_rdlock(&lk));
96 PTHREAD_REQUIRE(pthread_rwlock_unlock(&lk));
107 PTHREAD_REQUIRE(pthread_rwlock_unlock(&lk));
112 PTHREAD_REQUIRE(pthread_rwlock_timedwrlock(&lk, &to));
130 PTHREAD_REQUIRE(pthread_rwlock_rdlock(&static_rwlock));
131 PTHREAD_REQUIRE(pthread_rwlock_unlock(&static_rwlock));
132 PTHREAD_REQUIRE(pthread_rwlock_destro
[all...]
H A Dt_detach.c67 PTHREAD_REQUIRE(pthread_attr_init(&attr));
68 PTHREAD_REQUIRE(pthread_attr_setdetachstate(&attr, state));
69 PTHREAD_REQUIRE(pthread_create(&t, &attr, func, NULL));
75 PTHREAD_REQUIRE(pthread_detach(t));
H A Dt_once.c69 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
70 PTHREAD_REQUIRE(pthread_once(&once, ofunc));
89 PTHREAD_REQUIRE(pthread_once(&once, once2_ofunc));
113 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL, once2_threadfunc, &id[i]));
117 PTHREAD_REQUIRE(pthread_join(threads[i], NULL));
128 PTHREAD_REQUIRE(pthread_mutex_unlock(mu));
140 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
142 PTHREAD_REQUIRE(pthread_once(&once, once3_ofunc));
177 PTHREAD_REQUIRE(pthread_mutex_lock(&mutex));
178 PTHREAD_REQUIRE(pthread_creat
[all...]
H A Dt_fpu.c105 PTHREAD_REQUIRE(pthread_mutex_lock(&recursion_depth_lock));
107 PTHREAD_REQUIRE(pthread_mutex_unlock(&recursion_depth_lock));
121 PTHREAD_REQUIRE(pthread_create(&s2, 0, bar, 0));
139 PTHREAD_REQUIRE(pthread_mutex_init(&recursion_depth_lock, 0));
141 PTHREAD_REQUIRE(pthread_create(&s5, 0, stir, stirseed));
H A Dh_common.h6 #define PTHREAD_REQUIRE(x) \ macro
H A Dt_kill.c125 PTHREAD_REQUIRE(pthread_create(&th[i].id, NULL, f, &th[i]));
134 PTHREAD_REQUIRE(pthread_kill(th[i].id, SIGUSR1));
138 PTHREAD_REQUIRE(pthread_join(th[i].id, NULL));
H A Dt_siglongjmp.c83 PTHREAD_REQUIRE(pthread_create(&t, NULL, thread, NULL));
87 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &nset, NULL));
97 PTHREAD_REQUIRE(pthread_sigmask(0, NULL, &nset));
H A Dt_sleep.c84 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));
89 PTHREAD_REQUIRE(pthread_sigmask(SIG_BLOCK, &mtsm, 0));
96 PTHREAD_REQUIRE(pthread_join(thread, NULL));
H A Dt_join.c65 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc1, NULL));
66 PTHREAD_REQUIRE(pthread_join(thread, NULL));
115 PTHREAD_REQUIRE(pthread_join(thread[i], &val));
H A Dt_fork.c82 PTHREAD_REQUIRE(pthread_create(&p, NULL, print_pid, NULL));
90 PTHREAD_REQUIRE(pthread_join(p, NULL));
H A Dt_swapcontext.c108 PTHREAD_REQUIRE(pthread_create(&thread, NULL, threadfunc, NULL));
109 PTHREAD_REQUIRE(pthread_join(thread, NULL));
H A Dt_sigmask.c194 PTHREAD_REQUIRE(pthread_create(&thread, NULL,
196 PTHREAD_REQUIRE(pthread_join(thread, NULL));
235 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL));
237 PTHREAD_REQUIRE(pthread_create(&id, NULL, incorrect_mask_bug_sleeper,
242 PTHREAD_REQUIRE(pthread_sigmask(SIG_SETMASK, &act.sa_mask, NULL));
H A Dt_sem.c190 PTHREAD_REQUIRE(pthread_create(&threads[i], NULL,
201 PTHREAD_REQUIRE(pthread_join(threads[i], NULL));
268 PTHREAD_REQUIRE(pthread_create(&t, NULL, threadfunc, NULL));
269 PTHREAD_REQUIRE(pthread_join(t, NULL));
H A Dt_condwait.c62 PTHREAD_REQUIRE(pthread_condattr_init(&attr));
63 PTHREAD_REQUIRE(pthread_condattr_setclock(&attr, clck));
H A Dt_sigalarm.c93 PTHREAD_REQUIRE(pthread_create(&self, NULL, setup, NULL));
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread_dbg/
H A Dt_threads.c89 PTHREAD_REQUIRE
152 PTHREAD_REQUIRE
222 PTHREAD_REQUIRE
294 PTHREAD_REQUIRE
299 PTHREAD_REQUIRE
375 PTHREAD_REQUIRE
380 PTHREAD_REQUIRE
448 PTHREAD_REQUIRE
522 PTHREAD_REQUIRE
596 PTHREAD_REQUIRE
[all...]
H A Dh_common.h40 #define PTHREAD_REQUIRE(x) \ macro

Completed in 73 milliseconds