Revision 7260cfbe lib/locking.py
b/lib/locking.py | ||
---|---|---|
287 | 287 |
if self._nwaiters == 0: |
288 | 288 |
self._Cleanup() |
289 | 289 |
|
290 |
def notifyAll(self): |
|
290 |
def notifyAll(self): # pylint: disable-msg=C0103
|
|
291 | 291 |
"""Close the writing side of the pipe to notify all waiters. |
292 | 292 |
|
293 | 293 |
""" |
... | ... | |
345 | 345 |
assert self._nwaiters > 0 |
346 | 346 |
self._nwaiters -= 1 |
347 | 347 |
|
348 |
def notifyAll(self): |
|
348 |
def notifyAll(self): # pylint: disable-msg=C0103
|
|
349 | 349 |
"""Notify all currently waiting threads. |
350 | 350 |
|
351 | 351 |
""" |
... | ... | |
382 | 382 |
self._cond = threading.Condition(lock=lock) |
383 | 383 |
self._nwaiters = 0 |
384 | 384 |
|
385 |
def notifyAll(self): |
|
385 |
def notifyAll(self): # pylint: disable-msg=C0103
|
|
386 | 386 |
"""Notifies the condition. |
387 | 387 |
|
388 | 388 |
""" |
Also available in: Unified diff