From 2aaf7251b5191920d0880010c1cb30fb56f92c14 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 10 May 2012 02:28:35 +0200 Subject: fix sema_up() and hence the priority-sema testcase => 2/18 failed + some minor documentation and cleanup stuff --- threads/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'threads/thread.h') 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 int is_donated; /* flag if threads priority has been donated by another thread */ int saved_priority; /* saved base priority in case of priority dontation */ - struct list locks; /* list of locks we currently hold */ + struct list locks; /* list of locks the thread currently holds */ }; /* If false (default), use round-robin scheduler. -- cgit v1.2.3