Lab 3 - Thread Context
Lab goals:
- Learn about user-level threads.
-
Understand how to use
getcontext
,makecontext
,setcontext
, andswapcontext
.
Resources
- Lab Slides
- GitHub Classroom link
- COMP 222 Lab on Advanced Linked Lists (information on circular, doubly-linked lists)
Submission
For this lab and all labs in this course, at the end of your scheduled lab session, you should "submit" your work (regardless of how much your completed) using git push.
You should always include in your repo all files that
you created in the lab, other than those (such as the output of
the compiler) generated automatically from other files. Think of this as
including just the files necessary to backup and to be able to recreate
your work.
Do not
simply add all files to your repo; for example, do
not simply type something like
git add .
or
git add *
, and never add any object files, executable
files, or core
files to your repo.
Only add the actual source files (for example,
.c and