summaryrefslogtreecommitdiffstats
path: root/threads/thread.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-05-10 02:28:35 +0200
committermanuel <manuel@mausz.at>2012-05-10 02:28:35 +0200
commit2aaf7251b5191920d0880010c1cb30fb56f92c14 (patch)
tree540791e152ded80d0530f4b983de1d4ee77b9768 /threads/thread.h
parent57c893ae56f151efc96fabebbb4c8ec039cb56ef (diff)
downloadprogos-2aaf7251b5191920d0880010c1cb30fb56f92c14.tar.gz
progos-2aaf7251b5191920d0880010c1cb30fb56f92c14.tar.bz2
progos-2aaf7251b5191920d0880010c1cb30fb56f92c14.zip
fix sema_up() and hence the priority-sema testcase => 2/18 failed
+ some minor documentation and cleanup stuff
Diffstat (limited to 'threads/thread.h')
-rw-r--r--threads/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/threads/thread.h b/threads/thread.h
index 8bc6512..8cfafe6 100644
--- a/threads/thread.h
+++ b/threads/thread.h
@@ -110,7 +110,7 @@ struct thread
110 110
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 we currently hold */ 113 struct list locks; /* list of locks the thread currently holds */
114 }; 114 };
115 115
116/* If false (default), use round-robin scheduler. 116/* If false (default), use round-robin scheduler.