module Bundler::ParallelWorkers

def self.worker_pool(size, job)

def self.worker_pool(size, job)
  if Bundler.current_ruby.mswin? || Bundler.current_ruby.jruby?
    ThreadWorker.new(size, job)
  else
    UnixWorker.new(size, job)
  end
end