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)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Sat, 27 Dec 2014 22:06:38 +0000 (17:06 -0500)
commitb7d9420b0e2a737d85073bda16cdb7859f78c941
treed0ab0092d14dde7371a0b74761cb867dae7b8fff
parent2c39149afd63f86dab4019a057ee5b8c9d4d371d
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