class Concurrent::RubyThreadPoolExecutor

def active_count

@!macro thread_pool_executor_method_active_count
def active_count
  synchronize do
    @pool.length - @ready.length
  end
end