Re: Multitasking in Mac OS Gets 100% CPU
- Posted by bryanso Nov 05, 2012
- 1535 views
I'll trim my test case down to a more manageable size and post the code. (I believe nothing has been scheduled, though, so task_yield really has nothing to do).
Hi Ryan, I think I can't use task_delay(5) in a loop that's getting user input. The user will feel the keyboard is sluggish.
Thanks all.
ryanj said...
What happens when you use a longer delay? Such as:
task_delay(5)
Does it still use 100% CPU?