Merge pull request #2722 from ludovic-henry/fix-39279-docker-cpu-count
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 4 Mar 2016 18:00:30 +0000 (18:00 +0000)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 4 Mar 2016 18:00:30 +0000 (18:00 +0000)
[utils] Get processor count from scheduler affinity if available

In case the user has set a scheduler CPU affinity, we should use it as the number of available CPU for the runtime. This is particularly important on docket which uses cgroups that set the container a cpu affinity, and by not using that, the runtime report the total number of CPU the machine has, and not the number of CPU the container has.

Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=39279

1  2 
configure.ac

diff --cc configure.ac
Simple merge