Class: Thread
- Inherits:
-
Object
- Object
- Thread
- Defined in:
- lib/easy_threadpool.rb
Overview
It adds a shortcut to the Thread class pool = Thread.pool(10)
Class Method Summary collapse
Class Method Details
.pool(size) ⇒ Object
7 8 9 |
# File 'lib/easy_threadpool.rb', line 7 def self.pool(size) EasyThreadpool::Pool.new size end |