class Concurrent::RubyThreadPoolExecutor
def remaining_capacity
-
(Integer)
- the remaining_capacity
def remaining_capacity mutex.synchronize { @max_queue == 0 ? -1 : @max_queue - @queue.length } end
(Integer)
- the remaining_capacity
def remaining_capacity mutex.synchronize { @max_queue == 0 ? -1 : @max_queue - @queue.length } end