Commit 653c73c8 authored by David Wilson's avatar David Wilson

issue #156: also log target of wakes

parent 4d96d0c1
......@@ -980,6 +980,8 @@ class Latch(object):
self.queue.append(obj)
woken = len(self.wake_socks) > 0
if woken:
_vv and IOLOG.debug('%r.put() -> waking wfd=%r',
self, self.wake_socks[0].fileno())
self._wake(self.wake_socks.pop(0))
finally:
self.lock.release()
......
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