Last updated on Jan. 23, 2021, 7:01 p.m. by None
Thread:
User level thread vs Kernel level thread:
User level thread | Kernel level thread |
i)User level threads are faster to create and manage. |
i) Kernel level threads are slower to create and manage. |
ii)User level threads can run on any OS | ii)Kernel level threads are specific to that OS. |
iii)User level threads are maintained by users | iii)Kernel level threads are maintained by OS. |
iv)If one user level thread is blocked, then the entire process is blocked. |
iv) If one kernel level thread is blocked, then there is no effect on other threads. |
v)Eg-POSIX P-threads,Mach C-Threads | v) Eg-Windows 95/96,Solaris |
vi)They are also called as many-to-one mapping threads. |
vi)They are also called as one-to-one mapping threads. |
User Level Thread:
Kernel Level Thread:
You can refer to this YouTube video for Video Explanations