Make it such that when a ptrace event is hit: - The current regset is saved in the ptrace state. - The current task is put to sleep. - Arrange for a SIGCHLD to be set to the parent. - Notify any waiters with the appopriate signal.
Task
OwnedTask