Commit 87476958 authored by Antoine Millet's avatar Antoine Millet

Changed lock of BytesBuffer from Lock to RLock.

parent 9752c321
......@@ -19,7 +19,7 @@ class BytesBuffer(object):
self._buf = ''
else:
self._buf = data
self._lock = threading.Lock()
self._lock = threading.RLock()
def push(self, data):
'''
......
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