diff options
| author | manuel <manuel@mausz.at> | 2012-06-19 01:44:56 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-06-19 01:44:56 +0200 |
| commit | e88a8c4c379d721e9901752d440a05295087da11 (patch) | |
| tree | b89070c525614267811a10b77a4dbc49ffd96b03 /threads/thread.c | |
| parent | d9e0c55d118d0a3923b440b7811f8d1d6db9e1d7 (diff) | |
| download | progos-e88a8c4c379d721e9901752d440a05295087da11.tar.gz progos-e88a8c4c379d721e9901752d440a05295087da11.tar.bz2 progos-e88a8c4c379d721e9901752d440a05295087da11.zip | |
implement page table and use it for lazy loading of segments
Diffstat (limited to 'threads/thread.c')
| -rw-r--r-- | threads/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threads/thread.c b/threads/thread.c index cf404b6..14889ca 100644 --- a/threads/thread.c +++ b/threads/thread.c | |||
| @@ -73,7 +73,7 @@ static tid_t allocate_tid (void); | |||
| 73 | 73 | ||
| 74 | /* comparison function for our descending ordered ready list. */ | 74 | /* comparison function for our descending ordered ready list. */ |
| 75 | bool | 75 | bool |
| 76 | thread_priority_cmp_greater(const struct list_elem *a, const struct list_elem *b, | 76 | thread_priority_cmp_greater (const struct list_elem *a, const struct list_elem *b, |
| 77 | void *AUX UNUSED) | 77 | void *AUX UNUSED) |
| 78 | { | 78 | { |
| 79 | const struct thread *t1 = list_entry (a, struct thread, elem); | 79 | const struct thread *t1 = list_entry (a, struct thread, elem); |
