tags: thread threads kernel implementation is_child_of: implementations

Implementing threads in Kernel

  • Kernel is aware of processes threads.
  • It manages threads table having theads state.
  • Threads calls blocking system calls and kernel switches the threads.

Some problems

  1. System calls are costlier to switch and manage threads.
  2. Signal issue. If a signal is sent to process, which thread should handle it?