diff options
author | sam <sam@FreeBSD.org> | 2005-05-01 00:38:11 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-05-01 00:38:11 +0000 |
commit | 17d6060ac9afc38ef9d5b09f7c28b8842a439bbd (patch) | |
tree | 5015be89917a1c9a53d2b48bf53736636c16d902 /sys/kern/kern_exec.c | |
parent | eff8f31f8b0bffb36780a423c2307f514ac22269 (diff) | |
download | FreeBSD-src-17d6060ac9afc38ef9d5b09f7c28b8842a439bbd.zip FreeBSD-src-17d6060ac9afc38ef9d5b09f7c28b8842a439bbd.tar.gz |
o enable shutdown of taskqueue threads; the thread servicing the queue checks
a new entry in the taskqueue struct each time it wakes up to see if it
should terminate
o adjust TASKQUEUE_DEFINE_THREAD & co. to record the thread/proc identity for
the shutdown rendezvous
o replace wakeup after adding a task to a queue with wakeup_one; this helps
queues where multiple threads are used to service tasks (e.g. acpi)
o remove NULL check of tq_enqueue method; it should never be NULL
Reviewed by: dfr, njl
Diffstat (limited to 'sys/kern/kern_exec.c')
0 files changed, 0 insertions, 0 deletions