Signal handling / Monitors & links
archseer opened this issue · 2 comments
archseer commented
Monitors & links
- Track parent process
- Add a link/monitor tree to each process
- Modify
process::spawn
to accept extra flags which register the required tree structures - On process exit, dispatch exit signals
Signal queue
- Modify mailbox to hold a queue of
enum Signal { Message(Term), Exit(Reason), ... }
- Check the mailbox on each process swap-in / (swap-out?)
archseer commented
Preliminary work: https://github.com/archseer/enigma/compare/monitor-link
archseer commented
Completed on master.