Fix rounding to UINT32_MAX (#23764)
authorLudovic Henry <luhenry@microsoft.com>
Fri, 5 Apr 2019 21:07:57 +0000 (14:07 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Apr 2019 21:07:57 +0000 (14:07 -0700)
commit98d2b480ff9fc207f568ed2ac8dcbcb7c9d6a719
treeccb796867c463792012596bc5bbd18197bad68bf
parent5b9db5fcd995b52fda09aff38ae42e75f48f8dfa
Fix rounding to UINT32_MAX (#23764)

In case you would have UINT32_MAX - 1 CPUs, you would round up to return UINT32_MAX CPUs.
src/gc/unix/cgroup.cpp
src/pal/src/misc/cgroup.cpp