Cancel all threads upon SIGTERM without waiting.
commit46f3144c3334aaa8ac215143d533dc9d1612c54b
authorBen Kibbey <bjk@luxsci.net>
Thu, 1 Sep 2016 00:31:53 +0000 (31 20:31 -0400)
committerBen Kibbey <bjk@luxsci.net>
Thu, 1 Sep 2016 00:31:53 +0000 (31 20:31 -0400)
tree54a50660fedf9f9b8ecf929c5a47e204e3298b72
parent07f0dc68ccdc7000db0ed785a40a5eed127e77bc
Cancel all threads upon SIGTERM without waiting.

And some rearrangements to avoid the thread list from becoming
inconsistent.
src/cache.c
src/common.h
src/pwmd.c