Skip to content

Pipe read() never blocks, and poll() ignores timeouts #27683

Description

@paradust7

I have run into serious issues that make communication between pthreads, completely off the browser or main thread, totally broken. First is that read() on a pipe that should be blocking, instead returns immediately. And second, poll ignores its timeout parameter and also returns immediately.

This has been a persistent issue that seems to be ignored:

#25759, #20615, #19447, #16704, #16047

I am creating a new issue hoping for some attention to this issue. Now that JSPI and pthreads are available, I don't think there's any reason not to implement this correctly.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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