Home
last modified time | relevance | path

Searched refs:job_thread (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_threadpool.c762 job->job_thread = NULL; in threadpool_job_init()
781 KASSERTMSG((job->job_thread == NULL), "job %p still running", job); in threadpool_job_destroy()
789 KASSERT(job->job_thread == NULL); in threadpool_job_destroy()
824 KASSERT(job->job_thread != NULL); in threadpool_job_done()
825 KASSERT(job->job_thread->tpt_lwp == curlwp); in threadpool_job_done()
833 curlwp->l_name = job->job_thread->tpt_lwp_savedname; in threadpool_job_done()
847 job->job_thread = NULL; in threadpool_job_done()
864 if (__predict_true(job->job_thread != NULL)) { in threadpool_schedule_job()
878 job->job_thread = &pool->tp_dispatcher; in threadpool_schedule_job()
882 job->job_thread = TAILQ_FIRST(&pool->tp_idle_threads); in threadpool_schedule_job()
[all …]
/netbsd-src/sys/sys/
H A Dthreadpool.h54 struct threadpool_thread *job_thread; member