Link Search Menu Expand Document

Introduction

Welcome to Project Threads! In this project, you will add features to the threading system of Pintos.

Specifically, you will be implementing an efficient alarm clock and strict priority scheduler. For simplicity, you will implement these features only for kernel threads – threads that only execute in the kernel mode and have no userspace component.

The details of this assignment can be found in the Tasks section. However, you may find it helpful to first read through some of the CS 162 Pintos documentation. This will likely help you understand the required tasks.

Even if you read through some of these during previous projects, we recommend (re)reading through the following sections of the Pintos documentation:


Setup

First, log into your VM. Since this project does not involve user programs, you will be building off the Pintos starter coder. We recommend that you tag your final Project User Programs code since you will probably build off of it for Project File Systems.

cd ~/code/group
git tag proj-userprog-completed
git push group master --tags

Next, restore the initial starter code.

rm -rf src/
git pull staff master
git checkout staff/master -- src/
git commit -m "Restore Pintos starter code"
git push group master