]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: threadpool exit routine
authorSasha Levin <levinsasha928@gmail.com>
Wed, 5 Sep 2012 08:31:49 +0000 (10:31 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 13:22:37 +0000 (16:22 +0300)
commitc3c05ff63b4b19e5709f613eb49aa0dd32871c84
treea417a34ab962a88c27d49c83c382275174358e5d
parent863538b00ecf7f2034a460f1888a7786ea6276af
kvm tools: threadpool exit routine

Add an exit function for the threadpool which will stop all running threads in the
pool. Also clean up the init code a bit.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/include/kvm/threadpool.h
tools/kvm/util/threadpool.c