-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- previous issue : Part 1 Threads : Alarm clock #2
Overview
video link : https://www.youtube.com/watch?v=myO2bs5LMak
Goal
PintOS uses FIFO scheduling. Modify PintOS scheduler for priority scheduling.
- sort the ready list by the thread priority
- sort the wait list for synchronization primitives (semaphore, condition variable)
- implement the preemption
- point : when the thread is put into the ready list (not everytime when the timer interrupt is called)
Files to modify
threads/thread.*threads/synch.*
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels