edited by
715 views
0 votes
0 votes
There is no protection between the threads of same process  
why ?
edited by

1 Answer

Best answer
3 votes
3 votes
As the threads do share the same address space, so they may overwrite the data of each other. Due to this reason, there is no protection between the threads of the same process.
selected by

Related questions

1.8k
views
2 answers
0 votes
roopkathaaa asked Sep 2, 2023
1,780 views
A system has 5 process and 3 resources (A, B, C). The maximum count of resources are (10, 5, 7). Consider the following table of resource allocation. MAX(A B ... P0, P2 only P2, P4, P3, P1, P0 only Both a and b None are safe sequences
894
views
1 answers
0 votes
roopkathaaa asked Sep 2, 2023
894 views
State true or false.Deadlock detection is possible using the allocation and request matrices alone.A way to recover from deadlock is to take away the resource from one ... True, False False, True, True True, False, True False, True, False
343
views
1 answers
0 votes
roopkathaaa asked Sep 2, 2023
343 views
Suppose we want to synchronize two concurrent process P and Q using binary semaphore S and T.Process P: Process Q: while(1){ ... (S) X : V(S) Y : P(T) Z: V(T) and initially S = 1 and T= 0
302
views
1 answers
0 votes
roopkathaaa asked Sep 2, 2023
302 views
Which of the following is false about User threads? User threads can switch fast since it does not involve kernel. User threads are lightweight since they do not ... every user threads i.e. if it is blocking or runnable. None of these