Re: To Insolor and those interested in dos rescue programme

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu