From a047e96488e3052f230b0b5074d14fe2deccfa17 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 20 Oct 2013 17:42:27 -0400 Subject: [PATCH] Remove unnecessary mutex lock. --- irkerd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/irkerd b/irkerd index ec86d80..4b63eb8 100755 --- 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) -- 2.26.2