Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
#44 Active Objects in Real-Time Part-2: Mutable Events
Play lesson

Modern Embedded Systems Programming Course - #44 Active Objects in Real-Time Part-2: Mutable Events

4.0 (6)
56 learners

What you'll learn

This course includes

  • 22.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

This lesson continues the subject of Active Objects for Real-Time. Specifically, today you'll see how the use of asynchronous, *mutable* events makes Active Objects even more suitable for hard real-time than traditional with a Real-Time Operating System (RTOS). Contents with Timestamps: ------------------------- 1:40 Adding interactions among Active Objects, first with *sharing* 4:30 Race condition caused by sharing 6:05 Observing consequences of the race condition 8:00 Applying mutual exclusion for protection 9:20 Timing problems caused by mutual exclusion 10:40 Switching over to interactions via *events* 12:00 Naive approach with the static mutable event with parameters 13:30 Receiving event with parameters 15:50 Why static mutable events aren't safe? 16:45 Framework-based, management of mutable events 18:50 Summary of "Zero-copy" event management 19:32 "The Law of Leaky Abstractions" 19:50 Ownership rules for mutable events ------- Resources: Companion web page for this video course: https://www.state-machine.com/quickstart GitHub repository for projects for this video course: https://github.com/QuantumLeaps/modern-embedded-programming-course Transcript of this lesson: https://www.state-machine.com/course/lesson44.txt Recommended Reading: Book: "Practical UML Statecharts in C/C++, 2nd Edition": https://www.state-machine.com/doc/PSiCC2.pdf Article: "The Law of Leaky Abstractions" by Joel Spolsky https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions Music credits: The background music comes from: https://www.bensound.com/royalty-free-music/track/straight

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere