Sha256: ef7e7a95d2a3675a12864a75567105656ea89f067ce34a5c02809766ccfdc884
Contents?: true
Size: 449 Bytes
Versions: 17
Compression:
Stored size: 449 Bytes
Contents
require 'thread' require "bundler/parallel_workers/worker" module Bundler module ParallelWorkers autoload :UnixWorker, "bundler/parallel_workers/unix_worker" autoload :ThreadWorker, "bundler/parallel_workers/thread_worker" 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 end end
Version data entries
17 entries across 17 versions & 1 rubygems