Temp File Cleanup

When various items within the temp file should be cleaned up.

Name Removed
Speedy temp file When the file is closed and the group list is empty
Group When a be or fe is removed, and both lists are empty.
Script list and Group Name
  • When a group is removed
  • When a group is invalidated
BE Proc Slot If the proc dies prematurely:
  • If this BE is at the beginning of the group's BE list:
    • When the last BE in the previous group's BE list finishes one perl run or is about to exit and checks it.
    • When the FE at the front of the fe_wait list in this group is run or wakes up and checks it.
  • Otherwise:
    • When the BE previous to this one in the group's BE list finishes one perl run or is about to exit and checks it.
Otherwise:
  • When the BE exits
FE Proc Slot If the proc dies prematurely:
  • When a BE tries to wake it up in order to connect
  • When the FE after this one in the fe_wait list runs or wakes up and checks it.
Otherwise:
  • When it wakes up or is woken up and connects to an available BE.