diff options
| author | manuel <manuel@mausz.at> | 2012-05-08 02:35:22 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-05-08 02:35:22 +0200 |
| commit | 57c893ae56f151efc96fabebbb4c8ec039cb56ef (patch) | |
| tree | 85f3a10ee291af7dc0a04d69d75c4d73064af0e8 /threads/thread.h | |
| parent | 158ea87fba909161a084c29feff29a168725fe4e (diff) | |
| download | progos-57c893ae56f151efc96fabebbb4c8ec039cb56ef.tar.gz progos-57c893ae56f151efc96fabebbb4c8ec039cb56ef.tar.bz2 progos-57c893ae56f151efc96fabebbb4c8ec039cb56ef.zip | |
* 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
Diffstat (limited to 'threads/thread.h')
| -rw-r--r-- | threads/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 118 | Controlled by kernel command-line option "-o mlfqs". */ | 118 | Controlled by kernel command-line option "-o mlfqs". */ |
| 119 | extern bool thread_mlfqs; | 119 | extern bool thread_mlfqs; |
| 120 | 120 | ||
| 121 | bool priority_list_cmp_greater (const struct list_elem *a, const struct list_elem *b, | 121 | bool thread_priority_cmp_greater (const struct list_elem *a, const struct list_elem *b, |
| 122 | void *aux); | 122 | void *aux); |
| 123 | 123 | ||
| 124 | void thread_init (void); | 124 | void thread_init (void); |
