From 57c893ae56f151efc96fabebbb4c8ec039cb56ef Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 8 May 2012 02:35:22 +0200 Subject: * fixed sema_up which didn't yield the cpu * fixed wrong condition comperator * renamed the comperator functions to better explain their compare element * current status: 3 of 18 tests failed --- 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 a6ef25d..8bc6512 100644 --- a/threads/thread.h +++ b/threads/thread.h @@ -118,7 +118,7 @@ struct thread Controlled by kernel command-line option "-o mlfqs". */ extern bool thread_mlfqs; -bool priority_list_cmp_greater (const struct list_elem *a, const struct list_elem *b, +bool thread_priority_cmp_greater (const struct list_elem *a, const struct list_elem *b, void *aux); void thread_init (void); -- cgit v1.2.3