ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Operating Systems  >>  RTOS  >>  RTOS AllOther
 
 


 

 
 Vxworks interview questions  Vxworks Interview Questions
 Windows CE interview questions  Windows CE Interview Questions
 RTOS AllOther interview questions  RTOS AllOther Interview Questions
Question
what are the rules u follow when u r writing critical 
section of code?
 Question Submitted By :: Tarak
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what are the rules u follow when u r writing critical section of code?
Answer
# 1
1.The operation must be atomic
2.The atomicity is ensured by disabling the interrupts and 
immediately after crictical section enabling the 
interrupts..here slight precausion has to be taken i.e do 
not forget the enabling of interrupts ....
 
Is This Answer Correct ?    7 Yes 1 No
Teja
 
  Re: what are the rules u follow when u r writing critical section of code?
Answer
# 2
1. Operation Must be Atomic
2. The process which are not currently executing its
rtemainder section are only allowed to make request to
execute its critical section
 
Is This Answer Correct ?    6 Yes 0 No
Vineesh Mca@tkm
 
 
 
  Re: what are the rules u follow when u r writing critical section of code?
Answer
# 3
1.The operation must be atomic
2.The atomicity is ensured by disabling the interrupts and 
immediately after crictical section enabling the 
interrupts..here slight precausion has to be taken i.e do 
not forget the enabling of interrupts ....
 
Is This Answer Correct ?    0 Yes 0 No
Rk
 
  Re: what are the rules u follow when u r writing critical section of code?
Answer
# 4
Always keep your execution code as minimal as possible in
the critical section.
Never use blocking calls in the critical section.
 
Is This Answer Correct ?    1 Yes 0 No
Bb
 

 
 
 
Other RTOS AllOther Interview Questions
 
  Question Asked @ Answers
 
What is priority inversion ? and What is the solution ? Qualcomm1
When would you choose top down methodology?  3
What is a Real-Time System ?  3
Give an example of microkernel. Samsung8
what is the need of creating 4GB of pages in linux? TCS1
Explain the difference between microkernel and macro kernel.  5
What is a mission critical system ?  2
What is the difference between Hard and Soft real-time systems ? Satyam3
When would you choose bottom up methodology? Knowx-Innovations3
what are the rules u follow when u r writing critical section of code? TCS4
What is the difference b/n any GPOS and RTOS?Give suitable examples or characteristic of RTOS to support your answer. What changes can be done in a GPOS to make it work like a RTOS? What basic features will you support, if you have to design a RTOS? Emulogic3
What is the important aspect of a real-time system ?  6
What do you mean by deadlock?  4
What is the state of the processor, when a process is waiting for some event to occur?  12
Describe different job scheduling in operating systems.  5
If two processes which shares same system memory and system clock in a distributed system, What is it called?  4
what is difference between IRQ and FRQ ? Bosch1
 
For more RTOS AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com