We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 356587f commit 0228295Copy full SHA for 0228295
lib/concurrent/atomic.rb
@@ -11,3 +11,10 @@
11
warn "#{__FILE__}:#{__LINE__}: unsupported Ruby engine `#{RUBY_ENGINE}', using less-efficient Atomic impl"
12
require 'concurrent/atomic_reference/fallback'
13
end
14
+
15
+class Atomic < Concurrent::Atomic
16
+ def initialize(*args)
17
+ warn "[DEPRECATED] Please use Concurrent::Atomic instead."
18
+ super
19
+ end
20
+end
0 commit comments