projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79a38e6
)
Remove unnecessary mutex lock.
author
Eric S. Raymond
<esr@thyrsus.com>
Sun, 20 Oct 2013 21:42:27 +0000
(17:42 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 20 Oct 2013 21:42:27 +0000
(17:42 -0400)
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index ec86d80fab38ebdb18b5e49496880a3fa50b7c83..4b63eb8ecc55bf6c52eadfad15a8038bdd5cb3fb 100755
(executable)
--- a/
irkerd
+++ b/
irkerd
@@
-132,10
+132,9
@@
class IRCClient():
sockets = [x for x in sockets if x is not None]
if sockets:
(insocks, _o, _e) = select.select(sockets, [], [], timeout)
- with self.mutex:
- for s, c in itertools.product(insocks, self.server_connections):
- if s == c.socket:
- c.consume()
+ for s, c in itertools.product(insocks, self.server_connections):
+ if s == c.socket:
+ c.consume()
else:
time.sleep(timeout)