Kaydet (Commit) a3c77677 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

... and the number of the counting shall be three.

üst a912c6c8
......@@ -26,7 +26,7 @@ class Queue:
self._init(maxsize)
# mutex must be held whenever the queue is mutating. All methods
# that acquire mutex must release it before returning. mutex
# is shared between the two conditions, so acquiring and
# is shared between the three conditions, so acquiring and
# releasing the conditions also acquires and releases mutex.
self.mutex = threading.Lock()
# Notify not_empty whenever an item is added to the queue; a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment