diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-27 06:15:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-27 06:15:44 +0000 |
commit | f4029cf62b7527d3d28d121fa81da9c63fbce9af (patch) | |
tree | 328ceb66f0239d2e5bd750e910fea544fefd0235 /lib/libpthread | |
parent | b2bba7ca2ac8a4de0678d1fe23ee5189bc40c8e4 (diff) | |
download | FreeBSD-src-f4029cf62b7527d3d28d121fa81da9c63fbce9af.zip FreeBSD-src-f4029cf62b7527d3d28d121fa81da9c63fbce9af.tar.gz |
- Always use the proc lock of the task leader to protect the peers list of
processes.
- Don't construct fake call args and then call kill(). psignal is not
anymore complicated and is quicker and not prone to locking problems.
Calling psignal() avoids having to do a pfind() since we already have a
proc pointer and also allows us to keep the task leader locked while we
kill all the peer processes so the list is kept coherent.
- When a kthread exits, do a wakeup() on its proc pointers. This can be
used by kernel modules that have kthreads and want to ensure they have
safely exited before completely the MOD_UNLOAD event.
Connectivity provided by: Usenix wireless
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions