What is a critical section in os?



What is a critical section in os?..

Answer / Pappu Chauhan

A critical section in an operating system is a portion of code that accesses shared resources, such as memory or files. If multiple processes try to access the same critical section simultaneously, conflicts can occur and lead to inconsistencies or errors. To prevent this, synchronization mechanisms like mutexes (mutual exclusion objects) are used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What is an Assembler?

1 Answers  


What is real time operating systems?

1 Answers   Sony,


What is system unit?

1 Answers  


Explain the characteristics of instruction and execution time.

1 Answers  


How do I enable plugins on firefox?

1 Answers  


What is sudo user?

1 Answers  


What is system bus? Explain a few related terms.

1 Answers  


What are the steps involved in following a particular instruction given by the cpu?

1 Answers  


Describe Recovery from Deadlock?

1 Answers   MaxSolPro,


Where are chkdsk logs stored?

1 Answers  


Semafore is used for? a) synchronization b) dead-lock avoidence c)box d) none

6 Answers   HCL,


What are 4 types of operating systems?

1 Answers  


Categories