chiark / gitweb /
Wait 100ms before checking if the thread is still alive
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Sat, 27 Dec 2014 22:05:29 +0000 (17:05 -0500)
committerSteven Abadie <steven@alephobjects.com>
Tue, 30 Dec 2014 22:34:11 +0000 (15:34 -0700)
commite67704d967d3111239e14d90c5d3cc8c9fb24228
treefa7a5c2c17dafac50434cc20ac58da36f508daa6
parent7450eb02fd45cc54df0ad4a3d7011c1290c777fd
Wait 100ms before checking if the thread is still alive
By waiting for 0s, it means we have an infinite loop in serialCommunication
which makes it take 100% of CPU as long as it's running.
Fixes issue #64
Cura/serialCommunication.py