Exercises on Task Management
-
- Create two tasks with equal priorities. When run the tasks will display the strings “Task 1 is Running …” and “Task 2 is Running …” accordingly. How to do it …
- Using the task parameter
- The two tasks created in previous example are almost identical, How to do it …
- Periodic Task
- Create two tasks at priority 1. These should do nothing other than continuously print out a string. How to do it …
- The Idle Task and the Idle Task Hook
- The tasks created in the previous example spend most of their time in the Blocked state. How to do it …
- Changing task priorities
- Demonstrate the scheduler always selects the highest Ready state task to run. How to do it …
Recent Comments