Changeset 155 for etherws/trunk
- Timestamp:
- 05/18/12 22:24:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r151 r155 78 78 sys.stderr.write('%s: %s\n' % (caller.__class__.__name__, 79 79 message.encode('hex'))) 80 try: 81 self._write_lock.acquire() 82 80 with self._write_lock: 83 81 clients = self._clients[:] 84 82 … … 89 87 for c in clients: 90 88 c.write_message(message, True) 91 92 finally:93 self._write_lock.release()94 89 95 90 def __call__(self, fd, events):
Note: See TracChangeset
for help on using the changeset viewer.