L2SS-285: FInd out whether we can limit CPU usage of a thread
The following discussion from !56 (merged) should be addressed:
-
@jurges started a discussion: (+1 comment) This will leave the loop and effectively end the thread. Is this intended? Also this is still not yielding the CPU if there is always at least one entry in the Queue. This really needs to be changed.
Although Python does yield the CPU, we can have a very high CPU usage by a single thread anyway, slowing down the program to a crawl. Is there any way to avoid that?
Edited by Thomas Juerges