Changes
→Pseudocode
===Pseudocode===
{{c|<pre>waitUntil(time){
Disable interrupts;
Create a new waitingThread;
Sleep the current thread;
Re-enable interrupts;
}</pre>}}
{{c|<pre>timerInterrupt(){
AssertTrue (interrupts have already been disabled);
For all waitingThreads that have exceeded their associated wait time;
Wake their associated threads and remove from queue;
}</pre>}}
==Communicator==