Integrating Computer Science across Wyoming’s K-12 Curriculum from Inception to Implementation: Analysis Using Systems Theory
1
Dept. of Computer Science & Engineering Univ. of California, Riverside, Riverside, CA, USA
2
zyBooks, Cambell, CA, USA
3
Dept. of Computer Science, Univ. of California, Irvine, Irvine, CA, USA
Abstract
Embedded systems often implement multiple concurrent tasks of varying priority through the use of a real-time operating system (RTOS). However, an RTOS may introduce overhead, complexity, and maintenance issues. For embedded system applications whose tasks don’t heavily compete with one another, an alternative approach is to write the tasks to be cooperative: For each call to the task, the task runs quickly, and then returns so other tasks can execute. For such cooperative tasks, a programmer may then write their own task scheduler in the application’s course code like C.