Merge branch 'task1/priority-scheduling' into task1/merged/priority-scheduling

# Conflicts:
#	.gitignore
#	src/threads/synch.c
#	src/threads/thread.c
This commit is contained in:
sBubshait
2024-10-17 19:30:19 +01:00
3 changed files with 12 additions and 51 deletions

View File

@@ -141,4 +141,7 @@ void thread_set_nice (int);
int thread_get_recent_cpu (void);
int thread_get_load_avg (void);
/* Returns true iff the priority of the first list element's thread is greater
than that of the second list element's thread. */
list_less_func thread_priority_greater;
#endif /* threads/thread.h */