0

Multi threading at the kernel level means that multiples processes can be executed on different threads at the same time.

User level threads reside in the processes which do not share same address space.

So, which type of thread is better for computation-intensive parallel applications and I/O intensive parallel applications?

Krishna
  • 484
  • 7
  • 22

1 Answers1

0

In reality there is no advantage whatsoever of user level threads over kernel level threads. (There are some useless textbooks that invent such advantages.)

User threads are poor-mans threading that was invented in the days before kernel threads existed. They persist only because certain operating systems have not implemented kernel threads.

user3344003
  • 20,574
  • 3
  • 26
  • 62
  • Consider the scenario with both the types. – Krishna Apr 01 '17 at 04:33
  • 1
    The answer here covers that. Kernel threads are better or equivalent for both 'purposes', so use kernel threads. Forget 'user threads', even if you have some environment that allows them. Your questions is answered:) – ThingyWotsit Apr 01 '17 at 12:43