Active Object [AO]
The active object design pattern decouples method execution from method invocation for objects that each reside in their own thread of control. Typically, an active object is constructed using an internal thread and a queue of operations or events that will be executed on the active object’s thread. The goal is to enable concurrency using asynchronous invocation, and to eliminate the need for an object to worry about managing threading details itself: that’s all taken care of under the hood.
From Around the Web
- What is an Active Object? by Matthew Eshleman
- Active Objects (Actors) by Miro Samek
- Programming embedded systems: active objects in real-time by Miro Samek
- Beyond the RTOS by Miro Samek
- Programming embedded systems: event-driven active objects by Miro Samek
- Quantum Programming for Embedded Systems: Toward a Hassle-Free Multithreading by Miro Samek
- Managing Concurrency in Complex Embedded Systems by Dr. David M. Cummings
- Prefer Using Active Objects Instead of Naked Threads by Herb Sutter
- Know When to Use an Active Object Instead of a Mutex by Herb Sutter
- Message Passing for Intertask Communication by Dr. David Kalinsky
- New Directions in RTOS Kernels by Dr. David Kalinsky
- The Actor Model: Towards Better Concurrency by Dror Bereznitsky
- Active Object by Rainer Grimm
Related
Categories: Field Atlas
Categories Field Atlas Tags Design Pattern, Multithreading, Public Entry
2 Replies to “Active Object [AO]”
patrick.wright says:
Looks like the link for “Know When to Use Active Objects Instead of a Mutex” is broken. The new link is: https://www.state-machine.com/doc/Sutter2010b.pdf
Phillip Johnston says:
Thanks, updated!
Share Your ThoughtsCancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
The hard way is the fast way. Do it right the first time and you won't have to do it over the next time. James Clear
3-2-1: The Responsibility of Any Creator, Leadership and How to Succeed
Free Newsletter
Sign up and receive our free playbook for writing portable embedded software.
Featured Courses
- Designing Embedded Software for Change
65 Lessons
- Heapless C++
27 Lessons
- Creating a Cross-Platform Build System for Embedded Projects with CMake
88 Lessons
©2024 Embedded Artistry LLC. All rights reserved.
EMBEDDED ARTISTRY and the OWL logo are registered trademarks of Embedded Artistry LLC.