tiuw

Can you give me an example regarding disadvantages of threads?

I have good understanding about User-Level Threads. I read in my course book that is has some disadvantages as well. Can you give me an example to prove it?
Add a comment
0%

6 replies

parthavi
An operation would be the "heaviest" unit of kernel scheduling. Processes own resources allocated from the operating-system. Resources include memory, file handles, sockets, device handles, and windows.
Add a comment
sharma
Processes tend not to share address spaces or file resources except through explicit methods for example inheriting file handles or shared memory segments, or mapping identical file within a shared way. Processes are normally preemptively multitasked.
Add a comment
lalam
"For example, if one thread causes a page fault, the process entire process will blocked in the kernel, even if there are runable threads left in the processes. Source “http://in.docsity.com/en-docs/Operating_System_-_Deadlock_-_Sonali_Agrawal“"
Add a comment