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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Embedded Systems  >>  Embedded Systems AllOther
 
 


 

 
 86 Family interview questions  86 Family Interview Questions
 VLSI interview questions  VLSI Interview Questions
 DSP interview questions  DSP Interview Questions
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions
Question
What is mutex precisely used for?
 Question Submitted By :: Achal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is mutex precisely used for?
Answer
# 1
The mutex (mutually exclusion) variables are used thread 
synchroniization and for protecting the shared memory(data 
segment) when multiple writes occur
 
Is This Answer Correct ?    9 Yes 0 No
Rohil
 
  Re: What is mutex precisely used for?
Answer
# 2
The above is correct. To be more specific, a CPU might need 
to access some hardware device say I2c interface. Now if 2 
processes in running state try to acquire and use I2c for 
some data transfer, it might create problems, when one of 
them hasn't finished its operations with the device. So 
whenever some process has to make use of I2C it should lock 
upon the mutex object for I2c device. And after the 
operation gets finished it unlocks the mutex. Now some 
other process can use I2c by mutex lock.
Similarly mutex object can be used to safegaurd some other 
device resources.
 
Is This Answer Correct ?    6 Yes 3 No
Achal
 
 
 

 
 
 
Other Embedded Systems AllOther Interview Questions
 
  Question Asked @ Answers
 
wat are the different rtos available? wat is the difference beetween RTOS ans OS LG-Soft2
Design a circuit for A + abs(B) = C, where A and B are 4 bits wide and 2?s complement representation Qualcomm1
In 8085 microprocessor READY signal does.which of the following is incorrect statements [a]It is input to the microprocessor [b] It sequences the instructions Wipro2
What is Difference between CAN and GMLAN GM-General-Motors1
Is tasklets or workqueues or softirqs are scheduled by the scheduler?  1
whether the mulitasking and multiprocessing are same or not.  5
Design a circuit to detect when 3 and only 3 bits are set out of 8 bits.(eg. o0101100) Qualcomm12
What is mutex precisely used for?  2
 
For more Embedded Systems 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