We go through hw6 in some more detail, with example runs, then discuss how threads behave in a concurrent program, including several examples of race conditions.
In this lecture fragment* we discuss threads, and how these may be implemented in xv6: our 6th homework. *the hw5 solution discussion is elided, and a large part of the remainder of the…
We discuss the exam format of the midterm, practice on a few questions, then move on to discuss how the OS switches from one process to another, also known as a “context switch”.
Motivated by a long debugging adventure, we explore segment descriptors, segment registers and model specific registers through both syscall and interrupt transitions. Also, a brief foray into the life of processes, from the…