ntdll: Try to merge threadpool wait queue buckets if possible.
commit00215697780f16780c5229cade9dfaa585e86125
authorSebastian Lackner <sebastian@fds-team.de>
Sun, 5 Jul 2015 00:25:32 +0000 (5 02:25 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 6 Jul 2015 05:49:39 +0000 (6 14:49 +0900)
tree9d18a5b77dfcaeee20ad8b859044fbdb49e71153
parent634bbed3fbfde3fe8ee77dc3c5a090716dc35563
ntdll: Try to merge threadpool wait queue buckets if possible.

When the number of elements per bucket is too small, then try to reduce
the number of threads by merging buckets. This is to ensure that the
number of running wait queue threads doesn't get too big.
dlls/ntdll/threadpool.c