Skip to content

Opening an empty FIFO blocks #58442

@Uroc327

Description

@Uroc327

The following hangs until something is written to test:

fifopath = Libc.mkfifo("test")
iofifo = open(fifopath, "r")

I think it should be possible to open a fifo regardless of whether there is data yet or not. If there is no data, probably eof(iofifo) should be true immediately after opening.

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