Staging: DST: extend thread pool exit conditions.
authorEvgeniy Polyakov <zbr@ioremap.net>
Mon, 19 Jan 2009 17:20:35 +0000 (20:20 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:33 +0000 (14:53 -0700)
commite55b689268391a3b0a0d20c951b60b2d88a5e105
treebf2e5e15f9a4cd0a3654a62ed608f8a0987d4d43
parent3e5510ab0cd73e37b1bf268ec1ec7a071e08a1d5
Staging: DST: extend thread pool exit conditions.

Added thread pool exit condition into the thread_pool_del_worker(). If
called in parallel another thread can steal

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/dst/thread_pool.c