Class Bundler::ParallelWorkers::Worker
In: lib/bundler/parallel_workers/worker.rb
Parent: Object

Methods

deq   enq   new   stop  

Classes and Modules

Class Bundler::ParallelWorkers::Worker::WrappedException

Constants

POISON = Object.new

Public Class methods

Creates a worker pool of specified size

@param size [Integer] Size of pool @param func [Proc] job to run in inside the worker pool

Public Instance methods

Retrieves results of job function being executed in worker pool

Enque a request to be executed in the worker pool

@param obj [String] mostly it is name of spec that should be downloaded

Stop the forked workers and started threads

[Validate]