From 268232ce9e1aaa1269f6293a1e7063c4629f2265 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Fri, 28 Jul 2023 23:13:20 +0900 Subject: [PATCH] Add processor_counter methods --- gems/concurrent-ruby/1.1/utility/processor_counter.rbs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 gems/concurrent-ruby/1.1/utility/processor_counter.rbs diff --git a/gems/concurrent-ruby/1.1/utility/processor_counter.rbs b/gems/concurrent-ruby/1.1/utility/processor_counter.rbs new file mode 100644 index 00000000..50e6a5a1 --- /dev/null +++ b/gems/concurrent-ruby/1.1/utility/processor_counter.rbs @@ -0,0 +1,5 @@ +module Concurrent + def self.physical_processor_count: () -> Integer + + def self.processor_count: () -> Integer +end