Hang detection additions.

This commit is contained in:
Geoffrey Challen
2017-02-09 09:49:03 -05:00
parent 8435ba6436
commit 8af1edae0e
8 changed files with 103 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ struct thread {
struct switchframe *t_context; /* Saved register context (on stack) */
struct cpu *t_cpu; /* CPU thread runs on */
struct proc *t_proc; /* Process thread belongs to */
HANGMAN_ACTOR(t_hangman); /* Deadlock detector hook */
/*
* Interrupt state fields.