ruby / resolv

A thread-aware DNS resolver library written in Ruby
Other
38 stars 29 forks source link

Make C-extension Ractor-safe #61

Closed mohamedhafez closed 3 weeks ago

mohamedhafez commented 3 weeks ago

In planning ahead to the near future when TruffleRuby can run C-extensions marked with rb_ext_ractor_safe(true) in parallel, and for when Ractors are no longer just experimental, it would be great if the C-extension could be made Ractor-safe, or marked as such if it already is so! Would be happy to send in a PR in the later case.

mohamedhafez commented 3 weeks ago

I've been advised that this gem is already pure Ruby except on Windows, so this isn't relevant for TruffleRuby users, so closing the issue