]> git.proxmox.com Git - mirror_spl-debian.git/commit - modules/spl/spl-thread.c
- Add more strict in_atomic() checking to the mutex entry
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Fri, 11 Apr 2008 17:03:57 +0000 (17:03 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Fri, 11 Apr 2008 17:03:57 +0000 (17:03 +0000)
commit115aed0dd8eae514d0cfaa37436a66c52926e3be
tree9088df967245d582c8ef4735989e2a9fb44b55bd
parent79f92663e36969c0b6b1f8520b1171285ae3e1d3
- Add more strict in_atomic() checking to the mutex entry
function just to be extra safety and paranoid.

- Rewrite the thread shim to take full advantage of the
new kernel kthread API.  This greatly simplifies things.

- Add a new regression test for thread_exit() to ensure
it properly terminates a thread immediately without
allowing futher execution of the thread.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@69 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
include/sys/mutex.h
modules/spl/spl-thread.c
modules/splat/splat-thread.c