Skip to content

iio_buffer_refill hangs indefinitely without timeout after disconnection. #1359

@tyw996

Description

@tyw996

I encountered an issue where calling iio_buffer_refill in a network backend thread works fine when connected, but it blocks indefinitely after disconnecting the Ethernet cable without timing out despite setting a timeout with iio_context_set_timeout(_ctx, 12000) and only returns an error after reconnecting. Why does this happen? I'm using version 0.26.

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