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

@@ -74,6 +74,7 @@ void V(struct semaphore *);
*/
struct lock {
char *lk_name;
HANGMAN_LOCKABLE(lk_hangman); /* Deadlock detector hook. */
// add what you need here
// (don't forget to mark things volatile as needed)
};