pthreadpool: use unsigned for num_idle, num_threads and max_threads
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Jun 2018 22:04:48 +0000 (00:04 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 12 Jul 2018 12:25:18 +0000 (14:25 +0200)
commit5e723bc6f122223252b8d3c67b7b1f17121dd49a
tree9fccbb56bb6612bc3ec067b131abdb5b877d8e73
parent19e4a0857779dd7502d044fc76859bbc202276e2
pthreadpool: use unsigned for num_idle, num_threads and max_threads

These can't get negative.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/pthreadpool/pthreadpool.c