mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Use kthread_exit() to terminate a taskqueue thread rather than kproc_exit()
now that the taskqueue threads are kthreads rather than kprocs. Reported by: kris
This commit is contained in:
parent
9cb3ef6efe
commit
03c7442d75
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178123
@ -408,7 +408,7 @@ taskqueue_thread_loop(void *arg)
|
||||
tq->tq_tcount--;
|
||||
wakeup_one(tq->tq_threads);
|
||||
TQ_UNLOCK(tq);
|
||||
kproc_exit(0);
|
||||
kthread_exit();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user