C++ and MATLAB Simulink tips for HWIL simulation software engineers
Showing posts with label observer. Show all posts
Showing posts with label observer. Show all posts
Thursday, October 31, 2024
Handling long operations in observer chains
If you have lengthy observer notification chains where observers notify other observers, making the trigger order unpredictable, and these chains include time-consuming operations like updating a map drawing, you can use the following approach to only update the drawing when the last observer in the chain is reached:
Subscribe to:
Posts (Atom)