1,277
edits
Changes
m
=FIX ME I AM WRONG=
lol actually i'm wrong
;New state variables
Alarm has a new instance variable, waitingThreads, which is a Java PriorityQueue of waiting threads with the target wake time as their priority. It also contains a new inner class named waitingThread, which contains a reference to the KThread and its associated wakeTime.
;Implementation details