Skip to content

Missing tests for rb_io_maybe_wait_*, e.g., rb_io_maybe_wait_readable #23

Description

@eregon

I noticed https://github.com/ruby/ruby/blob/master/ext/-test-/wait/wait.c, but the methods defined there like io_maybe_wait_readable don't seem used anywhere.
In fact I couldn't find any test for rb_io_maybe_wait_* functions.

The TruffleRuby team will add some basic specs based on the non-maybe variants of these functions.

It would be useful to add some MRI tests for this, and also test with a scheduler.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions