concurrent-ruby icon indicating copy to clipboard operation
concurrent-ruby copied to clipboard

should we use new c macros included with rubyc?

Open dsisnero opened this issue 4 years ago • 1 comments

with https://github.com/ruby/ruby/pull/3983 , rubyc includes c macros to do atomic operations. should we use these for the atomic operations?

  • Operating system: linux / mac / win
  • Ruby implementation: Ruby / JRuby / TruffleRuby / Rubinius
  • concurrent-ruby version: x.y.z
  • concurrent-ruby-ext installed: yes / no
  • concurrent-ruby-edge used: yes / no

dsisnero avatar Jan 05 '21 20:01 dsisnero

This is a good idea, thank you for letting me know. Although, the implementation in concurrent-ruby should use these conditionally only when available since it has to support old Ruby versions.

pitr-ch avatar Jan 18 '21 16:01 pitr-ch