Project: Light-weight userspace threading library

published on April 5, 2012

Technologies: 
C++
Time range: 
February 2008
As a: 
student

School year: second bachelor year, second term.

As one would expect, our Operating Systems course also covered threading, amongst others. The project for this course was short, but not trivial (at least, not at the time). We had to create a light-weight userspace threading library, with a round-robin scheduling algorithm, that dealt with creating and destroying threads, but also context switching.

This provided deep insight into an OS’s callstack.