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  >>  Windows  >>  Windows Threads
 
 


 

 
 SDK interview questions  SDK Interview Questions
 Windows Threads interview questions  Windows Threads Interview Questions
 Windows AllOther interview questions  Windows AllOther Interview Questions
Question
semaphore variable is different from ordinary variable by ?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: semaphore variable is different from ordinary variable by ?
Answer
# 1
semaphore uses one thread .so it can access little slower 
than ordinary variable.
 
Is This Answer Correct ?    0 Yes 0 No
Suja
 
  Re: semaphore variable is different from ordinary variable by ?
Answer
# 2
Semaphore variable is used under 'n' process solutions to
handshake mutual exclusion rule, where as ordinary variable
is used such circumstance is error prone if set that
variable as boolean type even you get problem while setting
value to parent thread.

where n>1 

check it out!
 
Is This Answer Correct ?    0 Yes 0 No
Nirmalraj
 
 
 

 
 
 
Other Windows Threads Interview Questions
 
  Question Asked @ Answers
 
How to Kill a Particular Process in windows? Tomax3
semaphore variable is different from ordinary variable by ?  2
Which one you will use to implement critical section? HCL2
WHAT IS A DAEMON? IBM3
Which one is not needed for Multi-program enviornment? 1) virtual memory 2) security 3) time sharing 4) none of the above. Siemens5
 
For more Windows Threads 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