Re: To Insolor and those interested in dos rescue programme
- Posted by useless_ Dec 21, 2012
- 2730 views
Insolor said...
useless_ said...
Insolor said...
for i = 1 to 3750000 do task_yield() end for
This doesn't look like the proper way to use tasks, but i don't know what you are trying to do. What are you trying to do?
useless
In DOS age the common practice was to make pause with empty loops.
But your empty loop will run at different speeds on different cpus, plus you are calling task_yield() 3,750,000 times! That's got to be a huge overhead!
useless