Skip to content

mpmc: Add optional exponential backoff #681

Description

@sgued

For users outside of RTOS such as bevy, spinning with exponential back-off is a good enough solution to avoid the issue raised in #583.

We could add an additional type parameter to Queue, which implements or not some form of backoff, similar to crossbeam-utils' Backoff, or does nothing.

This would allow having the option for downstreams who need it, without incurring any cost for downstreams who don't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions