Fixed a deadlock in the communication layer when pausing via M0

Using reentrant locks to allow sending of additional commands
This commit is contained in:
Gina Häußge committed 2015-05-28 16:10:48 +02:00
1 parent 2cfa3d9218
commit 046fffdd14
1 file changed
+1 -1
+1 -1
View File
@@ -213,7 +213,7 @@ class MachineCom(object):
# multithreading locks
self._sendNextLock = threading.Lock()
self._sendingLock = threading.Lock()
self._sendingLock = threading.RLock()
# monitoring thread
self._monitoring_active = True