I have dropped my cpu % back to almost 0. But the code just feels so dirty. Is there a better alternative to while(true) with a delay to drop cpu time?
Most suggestions for c# and java seems to be to just do it like this.
I have dropped my cpu % back to almost 0. But the code just feels so dirty. Is there a better alternative to while(true) with a delay to drop cpu time?
Most suggestions for c# and java seems to be to just do it like this.