Skip to content

does not work with Ractors (Ruby 3) #101

@mvidner

Description

@mvidner

A Ractor is a Ruby 3 mechanism for concurrency, where the basic difference to threads is that everything is isolated, except the things that you explicitly want to share.

To make this work, code that runs in a Ractor must conform to certain limitations:

  • no @@class_variables (ruby-dbus: Message#@@serial)
  • no @instance_variables of Modules/Classes (ruby-dbus: DBus#@logger)
  • ENV is not shareable yet (https://bugs.ruby-lang.org/issues/17676), several uses in ruby-dbus for the session bus
  • (and so on)

It appears fixable but not trivial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    d-installerrelevant for https://github.com/yast/d-installer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions