Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews New Artificial Intelligence Interviews:Advanced Embedded SystemsAI Fuzzy LogicAI GeneralAI Knowledge RepresentationAI LanguagesAI RecognitionArtificial Intelligence GamesArtificial Intelligence Language ProcessingArtificial Intelligence Neural NetworksArtificial Intelligence RoboticsArtificial Intelligence ToolsVirtual AssistantVirtual Reality
Copyright © 2018. All Rights Reserved
Advanced Embedded Systems Interview Question:
Explain me what is the purpose of using critical sections?
Submitted by: MuhammadCritical section allows the process to run in an area that is defined by that process only. It is a sequence of instructions that can be corrupted if any other process tries to interrupt it. This process allow the operating system to give the synchronization objects that are used to monitor the processes that are up and running so that no other process will get executed till the critical region consists of a process that is already running. The example includes removal of the data from a queue running in a critical section and if not protected then it can be interrupted and the data have chances of getting corrupted. The processes exit from the critical section as soon as they finish the execution so that the chances can be given to other processes that are waiting for their chance to come.
Submitted by: Muhammad
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.