CS 452/652 Fall 2022 - Lecture 3

Sep 15, 2022 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