diff options
Diffstat (limited to 'threads/thread.h')
| -rw-r--r-- | threads/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/threads/thread.h b/threads/thread.h index 8cfafe6..fd4f8a6 100644 --- a/threads/thread.h +++ b/threads/thread.h | |||
| @@ -111,6 +111,7 @@ struct thread | |||
| 111 | int is_donated; /* flag if threads priority has been donated by another thread */ | 111 | int is_donated; /* flag if threads priority has been donated by another thread */ |
| 112 | int saved_priority; /* saved base priority in case of priority dontation */ | 112 | int saved_priority; /* saved base priority in case of priority dontation */ |
| 113 | struct list locks; /* list of locks the thread currently holds */ | 113 | struct list locks; /* list of locks the thread currently holds */ |
| 114 | struct lock *blocked_lock; /* lock the thread currently trys to accquire (but hasn't yet) */ | ||
| 114 | }; | 115 | }; |
| 115 | 116 | ||
| 116 | /* If false (default), use round-robin scheduler. | 117 | /* If false (default), use round-robin scheduler. |
