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 2015-05-28 16:07:50 +02:00
parent 2cfa3d9218
commit 046fffdd14

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