userthreads - simple user-level threads test
/testbin/userthreads
userthreads does simple console I/O from two threads in the same process.
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, and makes certain other assumptions about thread semantics. See the source file.If implementing user-level threads, part of your responsibility is to update the userthreads test to work with the threads package you write.