[PATCH] Add kthread_stop_sem()
authorAlan Stern <stern@rowland.harvard.edu>
Sun, 30 Oct 2005 23:01:40 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:17 +0000 (17:37 -0800)
commit61e1a9ea4b425eb8c3b4965c35fe953bd881728f
tree2dcf017eedd4a72698593c878aff3ae31e3a6b09
parent83521d3eb8dd2dfb04dd78b4733e9766f61bb47e
[PATCH] Add kthread_stop_sem()

Enhance the kthread API by adding kthread_stop_sem, for use in stopping
threads that spend their idle time waiting on a semaphore.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/kthread.h
kernel/kthread.c