CS 452/652 Winter 2023 - Lecture 3

Jan 17, 2023 prev next

Polling Patterns

Concurrency

Multi-Tasking

Kernel Overview

Generic Kernel Loop

void kmain() {
  initialize();  // includes starting the first user task
  for (;;) {
    currtask = schedule();
    request = activate(currtask);
    handle(request);
  }
}

Task State

Task Descriptor

Memory Management

Programming