Week 5 - Implementing Lightweight Threads (paper)

Ref: Implementing Lightweight threads

Notes

This paper describes an implementation of light weight threads in the SunOS architecture. This is laid out in Week 5 - Beyond Multiprocessing … Multithreading and the SunOS Kernel.

  • If one thread calls exit on the process then all threads will exit.
  • Threads have there own signal mask.
  • Signals to the process are sent to one of the threads which have that signal unmasked.
    • If all threads have it masked it is left pending on the process until a thread unmasks it.
  • Signals can be sent to a particular thread.
  • All threads within a process share signal handlers.