Skip to content

Do not poll on the port in recv_timeout #9195

Closed
@flaper87

Description

@flaper87

Current implementation causes a wakeup every time it checks for new messages, which is very bad for the battery life among other things.

IRC Chat: https://botbot.me/mozilla/rust/msg/6023259/

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