Re: To Insolor and those interested in dos rescue programme
- Posted by Insolor Dec 21, 2012
- 2690 views
useless_ said...
From the task readme:
Real-time tasks are scheduled at intervals, specified by a number of seconds or fractions of a second. You might schedule one real-time task to be activated every 3 seconds, while another is activated every 0.1 seconds.
Praps you can schedule a keybd scan to happen every 0.1 seconds, instead of that loop?
useless
In Euphoria tasks do not switch automatically (even so called realtime tasks). Every task (counting the main one) must explicitly task_yield() to allow the task scheduler consider which task will run next. Examine a small example. You can see both tasks are realtime, but anyway there is task_yield() in the main loop. Try to remove it, and the tasks will not run at all.