Understanding How Tasks Work - Part 2

This is part 2 of a two part article that discusses in technical detail how tasks (threads) work with respect to task switching, instance data, inter-task communication, scheduling, and priority. For a general overview of threads, see a previous article. This article discusses task scheduling and priority.

The scheduling mechanism described in this article is referred to as dynamic scheduling because it allows for an unlimited number of waiting tasks; for the creation of new tasks during execution; and for task priorities to change during execution. Contrast this to a static scheduling system in which tasks are entered into a table in priority order and bound at compile-time. The result is that new tasks cannot be created during execution time, nor can task priorities be changed with static scheduling.

View Entire Paper | Previous Page | White Papers Search

If you found this page useful, bookmark and share it on:

 
Embedded Star Newsletter
Don't have time to visit Embedded Star everyday? Then sign up for our free newsletter. We'll send you an email when we have something to share with you. Your email address will be kept confidential and we will not share, sell, or rent it to anyone. You can unsubscribe at any time by clicking a link in the email.

Enter your email address to sign up for our free newsletter:   

If you are familiar with RSS feeds, you can also sign up for our free blog feed. Our RSS feed is updated in real-time while our newsletter is updated daily.