Skip to content

wasi-common: windows poll_oneoff implementation is poorly understood #2880

@pchickey

Description

@pchickey

The implementation of WASI poll_oneoff on Windows in wasi-cap-std-sync (and now copied in wasi-tokio) is poorly understood and possibly buggy. It passes the test suite, but we expect that its behavior diverges from the unix implementation in some cases. We should consider refactoring or rewriting it when time permits. This task requires some Windows programming expertise that I don't currently have.

The current implementation is one of the few pieces of pre-rewrite (#2487) wasi-common still around, originally written by @kubkon and others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions