-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[actor shutdown] shutdown children (#75)
### Summary Propegates shutdown signals to children via the runtime manager. Currently there is no coordination between timing/ordering of parents and children except for the flow of initial messages. That is to say that the actual moment in which actors are removed from the runtime queue and the `before`/`after_stop` methods are finished may race. I think this is a fine trade-off for now. Coordination is a lot trickier, and possibly not necessary. ### Motivation Part of #29. Actors are organized in heirarchical trees. In an actor system, all actors should be part of the same tree and thus if an actor shuts down and has children, the shutdown signals have to propegate down the tree. ### Test Plan TBD. Will address testing as the final step in impelemnting actor shutdown.
- Loading branch information
1 parent
ad5756d
commit 7372322
Showing
2 changed files
with
62 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters