Skip to content

Support timeout for blocking peek/pop #2

Closed

Description

@Kriechi

It would be very useful to support the timeout argument for pushed_event.wait() function of threading.Event.

Activity

  1. philipbl commented on Nov 9, 2016

    @philipbl
    Owner

    I haven't needed this functionality where I am using python-persistent-queue so I haven't bothered implementing it yet. If you are interested, I will implement it eventually or you can make a PR.

  2. Kriechi commented on Nov 9, 2016

    @Kriechi
    ContributorAuthor

    I'm currently trying to adopt my application to use python-persistent-queue instead of the stdlib queue.Queue. However, there a few few minor API-incompatibilities. It would be nice to bring the API closer to the stdlib version. That's the reason why I'm missing timeout at the moment.

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

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