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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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