class Concurrent::RubyThreadPoolExecutor
def remaining_capacity
def remaining_capacity synchronize do if ns_limited_queue? @max_queue - @queue.length else -1 end end end
def remaining_capacity synchronize do if ns_limited_queue? @max_queue - @queue.length else -1 end end end