Skip to content

Locks around queue.Queue objects are redundant #7

@ofraiwan

Description

@ofraiwan

Per the documentation https://docs.python.org/3.8/library/queue.html#module-Queue, Queue class instances are already synchronized. So locks around instances of type Queue are redundant.

The queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Queue class in this module implements all the required locking semantics.

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