Method: ThreadPool#initialize

Defined in:
lib/nswtopo/helpers/thread_pool.rb

#initialize(size = CORES) ⇒ ThreadPool

Returns a new instance of ThreadPool.



4
5
6
# File 'lib/nswtopo/helpers/thread_pool.rb', line 4

def initialize(size = CORES)
  @args, @size = [], size
end