userthreads.html 879 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <html>
  2. <head>
  3. <title>userthreads</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>userthreads</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. userthreads - simple user-level threads test
  9. <h3>Synopsis</h3>
  10. /testbin/userthreads
  11. <h3>Description</h3>
  12. userthreads does simple console I/O from two threads in the same
  13. process.
  14. <h3>Requirements</h3>
  15. userthreads uses the following system calls:
  16. <ul>
  17. <li> <A HREF=../syscall/write.html>write</A>
  18. <li> <A HREF=../syscall/_exit.html>_exit</A>
  19. </ul>
  20. It also assumes the existence of a function threadfork(), which takes
  21. the address of a function to start a new thread at, and makes certain
  22. other assumptions about thread semantics. See the source file.
  23. <p>
  24. If implementing user-level threads, part of your responsibility is to
  25. update the userthreads test to work with the threads package you
  26. write.
  27. </body>
  28. </html>