a simple reimplementation of a user-space threading library such as pthreads