archseer/enigma

Signal handling / Monitors & links

archseer opened this issue · 2 comments

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?)

Completed on master.