userthreads

OS/161 Reference Manual

Name

userthreads - simple user-level threads test

Synopsis

/testbin/userthreads

Description

userthreads does simple console I/O from two threads in the same process.

Requirements

userthreads uses the following system calls: It also assumes the existence of a function threadfork(), which takes the address of a function to start a new thread at. If you choose to implement user-level threads as part of assignment 5, part of the assignment is to implement this function (or something like it) in a manner of your choosing.