Open GoogleCodeExporter opened 8 years ago
You're right -- a reasonable fix in pylsl would be to have an internal Python
loop that calls the blocking system function with shorter timeouts. The only
issue with that is that too short timeouts will noticable CPU load. Better
suggestions?
A quick workaround in the application would be to use a sufficiently short
timeout (e.g., 1/30 second in a real-time application) and use a loop around it
that checks whether the return value was nonzero (if it's zero the timeout
expired and no data was available).
Original comment by christia...@gmail.com
on 1 Aug 2014 at 10:03
Original issue reported on code.google.com by
bastian....@gmail.com
on 15 May 2014 at 9:56