jruby/jruby — pull request #2083 by cheald (2014-11-03 17:05:39+00:00)
Title: Add Etc::nprocessors

This PR implements Etc::nprocessors. Its behavior should be the same as MRI; Runtime.getAvailableProcessors() and MRI both implement this method with `sysconf (_SC_NPROCESSORS_ONLN)`, so it should vary accordingly with bound CPUs.