4 4 votes A process can have A. Only One critical Section B.Any number of critical Section C.Os may put some restrictions on number of critical sections D.None of the above Operating System operating-system + – dasabhijeet 1.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote I think the answer will be (B). because Critical section of a process accesses shared variables in a group of cooperating processes, at a given point of time.... Aditya Tewari answered Oct 27, 2016 Aditya Tewari comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote critical section can be anything...file,resource,code anything which is shared by two processes....so any number of critical sections are possible....option B sudsho answered Oct 27, 2016 sudsho comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments sudsho commented Oct 27, 2016 reply Follow flag sir i think it should depend on the memory available...more memory we have more resources can be shared 0 0 replyShare Arjun commented Oct 27, 2016 reply Follow flag Memory is ofcourse a limit. But question is does OS put a limit? 0 0 replyShare sudsho commented Oct 28, 2016 reply Follow flag sir i think if os can see through waits for graph that there is any chance of deadlock or so then it can take actions like suspending the resource or process....but beforehand there shouldn't be any restriction by os i guess 0 0 replyShare Please log in or register to add a comment.
0 0 votes Critical section is a piece of a program that requires mutual exclusion of access so a critical section at a time can allow only one process at a time and For uniprocessor system the inverse should also be true. so I think A process can have Only One critical Section . and ans should be (A) Rajesh Raj answered Oct 27, 2016 Rajesh Raj comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes as we knw if one process enter into it's cs no other process can enter it's cs to satisfy ME,so for sycronization a single process can have only one CS. http://www.personal.kent.edu/~rmuhamma/OpSystems/Myos/criticalSec.htm Hira Thakur answered Oct 27, 2016 Hira Thakur comment Share Follow 0 reply Please log in or register to add a comment.