djsfantasi
- Joined Apr 11, 2010
- 9,163
How about a cooperative multi-processing system, where a task is broken into the time needed for one command. Plus, there is a parameter for a required pause, before the next command is given control? Thus, the cpu rotates though a list of concurrent tasks. Each task is allowed to complete one instruction before the next step/instruction is allowed to execute. And there is a ”wait period” before the next instruction is executed.
This works as long as the maximum time with delay for a single step is greater than the “normal” time to execute each of any all other steps.
it also works if other higher priority tasks are allowed to execute between every other lower priority tasks.
This works as long as the maximum time with delay for a single step is greater than the “normal” time to execute each of any all other steps.
it also works if other higher priority tasks are allowed to execute between every other lower priority tasks.