Hi all,

I have the problem that I need two background tasks. The first task has a cycle time of 10 ms, the second one of 1000ms. In the second task I want to execute a complex algorithm taking much longer than 10ms. Therefore it is not possible to run both in a while(1) loop. One way to solve to problem would be to break the algorithm up into short chunks to be able execute the faster task in time, which I would not like to do (if possible).

Is there a good way to solve this problem without an OS? Is there a simple scheduler available?

Thanks for your hints,
Peter

Reply via email to