8000 Minimize the number of woken senders/receivers · Issue #41 · austinjones/postage-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Minimize the number of woken senders/receivers #41
Open
@austinjones

Description

@austinjones

Other channel implementations (such as the async-std channel) limit the number of woken senders/receivers. It would be trivial to implement this in the Notifier struct.

However, it needs some thought. It would require some kind of guard, as stored wakers could refer to futures that have been dropped. These 'dead wakers' would deadlock the channel if invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0