The Task Model

1,437 views
1,334 views

Published on

Presentation of task oriented design of embedded applications.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,437
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Basic execution thread of a programShould be independent of othersLightly coupled
  • The Task Model

    1. 1. The Task Model<br />Jernej Virag<br />14. 6. 2010<br />1<br />Jernej Virag<br />
    2. 2. A Task<br />14. 6. 2010<br />Jernej Virag<br />2<br />basic execution unit<br />
    3. 3. Task-oriented design<br />Designing embedded programs with tasks<br />14. 6. 2010<br />Jernej Virag<br />3<br />
    4. 4. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />4<br />Parallel<br />tasks have to be able to run in parallel<br />
    5. 5. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />5<br />Timing<br />separate time domains<br />
    6. 6. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />6<br />Priority<br />different response time and importance<br />
    7. 7. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />7<br />Structure<br />single task for single piece of functionality<br />
    8. 8. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />8<br />Coupling<br />loose coupling<br />
    9. 9. Task-oriented design<br />14. 6. 2010<br />Jernej Virag<br />9<br />Periodic execution<br />periodic functions warrant their own task<br />
    10. 10. Inter-task communication<br />Tasks talking to each other<br />14. 6. 2010<br />Jernej Virag<br />10<br />
    11. 11. Inter-task communication<br />14. 6. 2010<br />Jernej Virag<br />11<br />Shared variables<br />variables accessable by all tasks<br />
    12. 12. Inter-task communication<br />14. 6. 2010<br />Jernej Virag<br />12<br />Event buffers and queues<br />a more execution safe approach<br />
    13. 13. Inter-task communication<br />14. 6. 2010<br />Jernej Virag<br />13<br />Synchronization<br />concurrent access problems and solutions<br />
    14. 14. The Task Diagram<br />Outlook and elements<br />14. 6. 2010<br />Jernej Virag<br />14<br />
    15. 15. The Task Diagram<br />14. 6. 2010<br />Jernej Virag<br />15<br />
    16. 16. The Task Diagram<br />14. 6. 2010<br />Jernej Virag<br />16<br />data flow<br />information flow<br />
    17. 17. ?<br />14. 6. 2010<br />Jernej Virag<br />17<br />

    ×