Fix ThreadPool.SetMaxThreads to not allow having zero available threads (#8256)
authorKoundinya Veluri <kouvel@microsoft.com>
Wed, 23 Nov 2016 03:14:13 +0000 (19:14 -0800)
committerGitHub <noreply@github.com>
Wed, 23 Nov 2016 03:14:13 +0000 (19:14 -0800)
commit74015760d85127bdda68a520d2c0fe5f8bb667ed
treedd0a69598ac2b54a8f868e45f0067362a04dc9eb
parent20f48eb1128261332a99503a22b86c3891fdb9cc
Fix ThreadPool.SetMaxThreads to not allow having zero available threads (#8256)

There is an assertion checking for this, so allowing zero is probably not intentional.

Related to #8236
src/vm/win32threadpool.cpp