Skip to content
Snippets Groups Projects
Commit 87476958 authored by Antoine Millet's avatar Antoine Millet
Browse files

Changed lock of BytesBuffer from Lock to RLock.

parent 9752c321
No related branches found
No related tags found
No related merge requests found
......@@ -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):
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment