Method: Zold::ThreadPool#initialize
- Defined in:
- lib/zold/thread_pool.rb
#initialize(title, log: Log::NULL) ⇒ ThreadPool
Returns a new instance of ThreadPool.
34 35 36 37 38 39 |
# File 'lib/zold/thread_pool.rb', line 34 def initialize(title, log: Log::NULL) @title = title @log = log @threads = [] @start = Time.now end |