CS 452/652 Winter 2024 - Lecture 9

Events, Clock, Idle

Feb 6, 2024 prev next

AwaitEvent

Timer Interrupt Handling

Clock Server

Server Implementaion

Clock Notifier

    for (;;) {
        AwaitEvent();
        Send(); // send tick to clock server
    }

Clock Server

    for (;;) {
        Receive();
        process(); // manage tasks
        Reply(); // if applicable
    }

Idle/Halt

K3 overview

img