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
- System calls are costlier to switch and manage threads.
- Signal issue. If a signal is sent to process, which thread should handle it?