1 votes 1 votes Consider the following statements: S1 : Interprocess communication and sharing is easier in process rather than threads. S2 : There is no protection between threads of same process. Which of the following statements are Valid ? Operating System normal operating-system threads process-synchronization + – Na462 asked Dec 2, 2018 Na462 2.1k views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Shubhgupta commented Dec 2, 2018 reply Follow Share Threads always share common data and context switching between threads is faster thats why there is no protection. Check this- http://www.cs.iit.edu/~cs561/cs450/ChilkuriDineshThreads/dinesh%27s%20files/Advantages%20and%20disadvantages.html 1 votes 1 votes akash.dinkar12 commented Dec 30, 2018 reply Follow Share @Na462 Bro, there is no need for protection in the case when we are implementing thread at the user level because within the same task we will have more threads. can u imagine there is no problem of the critical section over here, we will always write the code in such a way that will not create any problem 1 votes 1 votes Na462 commented Jan 5, 2019 reply Follow Share What about the first point, well there is no need of IPC between threads of same process as they all share the same address space hence its faster then IPC of Processes right ? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes S1 is false as context switching in threads is faster s2 is true . Karan Negi answered Feb 5, 2021 Karan Negi comment Share Follow See all 0 reply Please log in or register to add a comment.