Lines Matching defs:pthread_functions

191 	if (!pthread_functions) {
194 pthread_functions->pthread_init();
200 return pthread_functions->fill_procworkqueue(p, pwqinfo);
206 pthread_functions->workqueue_init_lock(p);
212 pthread_functions->workqueue_destroy_lock(p);
218 pthread_functions->workqueue_exit(p);
224 pthread_functions->workqueue_mark_exiting(p);
230 pthread_functions->workqueue_thread_yielded();
236 if (pthread_functions->workqueue_get_sched_callback) {
237 return pthread_functions->workqueue_get_sched_callback();
245 pthread_functions->pth_proc_hashinit(p);
251 pthread_functions->pth_proc_hashdelete(p);
258 return pthread_functions->bsdthread_create(p, uap->func, uap->func_arg, uap->stack, uap->pthread, uap->flags, retval);
264 if (pthread_functions->version >= 1) {
265 return pthread_functions->bsdthread_register2(p, uap->threadstart, uap->wqthread,
270 return pthread_functions->bsdthread_register(p, uap->threadstart, uap->wqthread,
280 return pthread_functions->bsdthread_terminate(p, uap->stackaddr, uap->freesize, uap->port, uap->sem, retval);
286 return pthread_functions->bsdthread_ctl(p, uap->cmd, uap->arg1, uap->arg2, uap->arg3, retval);
293 return pthread_functions->thread_selfid(p, retval);
299 return pthread_functions->workq_kernreturn(p, uap->options, uap->item, uap->affinity, uap->prio, retval);
305 return pthread_functions->workq_open(p, retval);
313 return pthread_functions->psynch_mutexwait(p, uap->mutex, uap->mgen, uap->ugen, uap->tid, uap->flags, retval);
319 return pthread_functions->psynch_mutexdrop(p, uap->mutex, uap->mgen, uap->ugen, uap->tid, uap->flags, retval);
325 return pthread_functions->psynch_cvbroad(p, uap->cv, uap->cvlsgen, uap->cvudgen, uap->flags, uap->mutex, uap->mugen, uap->tid, retval);
331 return pthread_functions->psynch_cvsignal(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->thread_port, uap->mutex, uap->mugen, uap->tid, uap->flags, retval);
337 return pthread_functions->psynch_cvwait(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->mutex, uap->mugen, uap->flags, uap->sec, uap->nsec, retval);
343 return pthread_functions->psynch_cvclrprepost(p, uap->cv, uap->cvgen, uap->cvugen, uap->cvsgen, uap->prepocnt, uap->preposeq, uap->flags, retval);
349 return pthread_functions->psynch_rw_longrdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
355 return pthread_functions->psynch_rw_rdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
361 return pthread_functions->psynch_rw_unlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
373 return pthread_functions->psynch_rw_wrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
379 return pthread_functions->psynch_rw_yieldwrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
499 pthread_functions_t pthread_functions = NULL;
510 if (pthread_functions != NULL) {
521 pthread_functions = fns;